Anyone else think this is a bug worth filing? I’m using PHP 5.2.0 on OS X.
If there weren’t 161 options for bug type in the PHP bug submission page I probably would have filed it by now. Btw there don’t seem do be any similar filed bugs in the last 90 days.








June 4th, 2007 at 4:32 pm
You’re trying to access the constant ” MY_BAR” (mind the first space) that’s different from “MY_BAR” (without space) so the result is right.
As a general note: Please use the bug tracker if you find a bug, not a blog posting – if there are too many categories and you can’t decide just select one which doesn’t feel toooo wrong.
June 4th, 2007 at 4:37 pm
Damn – you’re right! That’s embarrassing. Thanks Johannes.
June 4th, 2007 at 6:16 pm
This could be turned into a feature request : When displaying error messages, enclose special values like constant names or strings in quotes
June 6th, 2007 at 1:23 am
Should I feel good that I caught that before I came here and that I caught the problem while looking at the script?
Or should I just move along?