Commit Graph

9 Commits

Author SHA1 Message Date
Nikita Popov
aad39879f2 Remove bareword fallback for constants
Access to undefined constants will now always result in an Error
exception being thrown.

This required quite a few test changes, because there were many
buggy tests that unintentionally used bareword fallback in combination
with error suppression.
2019-01-31 13:52:06 +01:00
Rowan Collins
1b565f1393 Change 'undefined constant' from E_NOTICE to E_WARNING and mention deprecation
Implements RFC "Deprecate and Remove Bareword (Unquoted) Strings"
[https://wiki.php.net/rfc/deprecate-bareword-strings]
2017-03-23 18:52:43 +01:00
Xinchen Hui
e081c55fb5 Merge branch 'PHP-5.3' into PHP-5.4 2012-10-10 10:31:31 +08:00
Xinchen Hui
610c7fbe7b Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
Felipe Pena
9d80c25005 - Fix test again 2011-06-12 21:05:16 +00:00
Felipe Pena
bb16e23891 - Restore test (the change related to this test weren't committed to this branch) 2011-06-12 03:01:12 +00:00
Philip Olson
35c42425fa Fixed test 2011-05-24 23:49:04 +00:00
Philip Olson
07e9cfe6a5 Fixed test 2011-05-24 23:49:04 +00:00
Dmitry Stogov
44caafc62e Fixed constant substitution (Matt) 2008-07-28 14:12:19 +00:00