xref: /PHP-7.2/Zend/tests/bug72944.phpt (revision 1b565f13)
1--TEST--
2Bug #72944 (Null pointer deref in zval_delref_p).
3--FILE--
4<?php
5"a"== e & $A = $A? 0 : 0 ?:0;
6echo "OK\n";
7?>
8--EXPECTF--
9Warning: Use of undefined constant e - assumed 'e' (this will throw an Error in a future version of PHP) in %sbug72944.php on line 2
10
11Notice: Undefined variable: A in %sbug72944.php on line 2
12OK
13