summaryrefslogtreecommitdiff
path: root/Zend/tests/bug72944.phpt
blob: 0ee8bd62c6f73ac757394e082b4fcdccc8317232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--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