php-src/Zend/tests/bug70293.phpt

17 lines
184 B
PHP

--TEST--
Crash with specific assertions and zend.assertions=-1
--INI--
zend.assertions=-1
--FILE--
<?php
function f() {
assert(@$a ?: 1);
echo "OK";
};
f();
?>
--EXPECT--
OK