note 74430 added to language.oop5.constants
| From: | alvakoldo10atgmaildotcom at osu1 dot php dot net | Date: | Wed, 11 Apr 2007 11:42:58 +0000 |
| Subject: | note 74430 added to language.oop5.constants | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125283@lists.php.net to get a copy of this message | ||
I think it should be clear in this manual that const into classes,
as described here, are only valid in php5. Otherwise this doc is
uncomplete and lead to confussion.
If you try the way described here, you'll get an annoying
"Unexpected T_CONST ..... expecting T_FUNCTION or ....."
----
Server IP: 130.206.1.5
Probable Submitter: 84.77.4.162
----
Manual Page -- http://www.php.net/manual/en/language.oop5.constants.php
Edit -- https://master.php.net/note/edit/74430
Del: integrated -- https://master.php.net/note/delete/74430/integrated
Del: useless -- https://master.php.net/note/delete/74430/useless
Del: bad code -- https://master.php.net/note/delete/74430/bad+code
Del: spam -- https://master.php.net/note/delete/74430/spam
Del: non-english -- https://master.php.net/note/delete/74430/non-english
Del: in docs -- https://master.php.net/note/delete/74430/in+docs
Del: other reasons-- https://master.php.net/note/delete/74430
Reject -- https://master.php.net/note/reject/74430
Search -- https://master.php.net/manage/user-notes.php