Hi Kuba,

For the moment some unexpected behaviour caused by use of undefined constant may be hard to fix with low error reporting level.

So don't use a low error reporting level.

Moreover,
treating an undefined constant as a string does not make sense. I know that PHP is intended to be a flexible language, but for me it's a bit thick.

Just how is PHP supposed to know that some random string is intended to be anything else?

- Steph


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to