note 56390 deleted from language.constants by danbrown
| From: | danbrown@php.net | Date: | Tue, 26 Jul 2011 20:04:39 +0000 |
| Subject: | note 56390 deleted from language.constants by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181909@lists.php.net to get a copy of this message | ||
Note Submitter: a dot eibach at gmx dot net
----
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.