Doc Comments cause parser errors
| From: | Sebastian Bergmann | Date: | Wed, 02 Apr 2003 05:50:53 +0000 |
| Subject: | Doc Comments cause parser errors | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-585@lists.php.net to get a copy of this message | ||
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/