note 56390 added to language.constants
| From: | a dot eibach at gmx dot net | Date: | Thu, 01 Sep 2005 09:11:14 +0000 |
| Subject: | note 56390 added to language.constants | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-94568@lists.php.net to get a copy of this message | ||
It took me almost 30 minutes to find out what was wrong in my code. I thought I had defined all
constants correctly: correct quotes, and whatnot.
The problem: I am a C programmer and I used #define with the preprocessor hash sign! No effect,
naturally.
So if you happen to come from C world and you program PHP, *DO NOT* use the preprocessor hash as
you're used to in C.
----
Manual Page -- http://www.php.net/manual/en/language.constants.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56390
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56390&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56390&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56390&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56390&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56390&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56390&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56390&report=yes
Search -- http://master.php.net/manage/user-notes.php