xref: /PHP-8.2/Zend/tests/bug72944.phpt (revision 36935e42)
1--TEST--
2Bug #72944 (Null pointer deref in zval_delref_p).
3--FILE--
4<?php
5define('e', 'e');
6("a"== e & $A = $A? 0 : 0) ?:0;
7echo "OK\n";
8?>
9--EXPECTF--
10Warning: Undefined variable $A in %s on line %d
11OK
12