note 103575 added to function.define
| From: | Piotr at osu1 dot php dot net | Date: | Wed, 20 Apr 2011 18:24:23 +0000 |
| Subject: | note 103575 added to function.define | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179023@lists.php.net to get a copy of this message | ||
For Jamie:
Your code (as usual) will generate the following warning:
Notice: Use of undefined constant MY_NAME - assumed 'MY_NAME'
Â
For andreas at cap-systems dot com:
Please read about octal number.
After 0 are allowed only digits 0 to 7. 010 == 8. 09900 isn't correct integer literal.
Everything after (and including) 9 is ignored, so 09900 == 0.
http://www.php.net/manual/en/language.types.integer.php#example-67
BTW, AFAIR "must not" means "not allowed to" http://www.learnersdictionary.com/search/must[1]
----
Server IP: 82.177.164.100
Probable Submitter: 77.255.56.56
----
Manual Page -- http://www.php.net/manual/en/function.define.php
Edit -- https://master.php.net/note/edit/103575
Del: integrated -- https://master.php.net/note/delete/103575/integrated
Del: useless -- https://master.php.net/note/delete/103575/useless
Del: bad code -- https://master.php.net/note/delete/103575/bad+code
Del: spam -- https://master.php.net/note/delete/103575/spam
Del: non-english -- https://master.php.net/note/delete/103575/non-english
Del: in docs -- https://master.php.net/note/delete/103575/in+docs
Del: other reasons-- https://master.php.net/note/delete/103575
Reject -- https://master.php.net/note/reject/103575
Search -- https://master.php.net/manage/user-notes.php