mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
1b565f1393
Implements RFC "Deprecate and Remove Bareword (Unquoted) Strings" [https://wiki.php.net/rfc/deprecate-bareword-strings]
13 lines
327 B
PHP
13 lines
327 B
PHP
--TEST--
|
|
Bug #72944 (Null pointer deref in zval_delref_p).
|
|
--FILE--
|
|
<?php
|
|
"a"== e & $A = $A? 0 : 0 ?:0;
|
|
echo "OK\n";
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Use of undefined constant e - assumed 'e' (this will throw an Error in a future version of PHP) in %sbug72944.php on line 2
|
|
|
|
Notice: Undefined variable: A in %sbug72944.php on line 2
|
|
OK
|