AFAIK, doc comments are for classes and functions only. I think this is what's important because interfaces are functions not variables.

Andi

At 07:50 AM 4/2/2003 +0200, Sebastian Bergmann wrote:
Current HEAD:

     <?php
     class Foo {
       var $foo;
     }
     ?>

works, but

     <?php
     class Foo {
       /**
       */
       var $foo;
     }
     ?>

causes

    Parse error: parse error, unexpected T_VAR, expecting T_FUNCTION
    in e:\var.php on line 5

--
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to