mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
09ea55cb4e
Deprecate nesting ternary operators without explicit parentheses. RFC: https://wiki.php.net/rfc/ternary_associativity
13 lines
329 B
PHP
13 lines
329 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
|