mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
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.
12 lines
219 B
PHP
12 lines
219 B
PHP
--TEST--
|
|
Bug #69755: segfault in ZEND_CONCAT_SPEC_TMPVAR_CONST_HANDLER
|
|
--FILE--
|
|
<?php
|
|
c . 10;
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Uncaught Error: Undefined constant 'c' in %s:%d
|
|
Stack trace:
|
|
#0 {main}
|
|
thrown in %s on line %d
|