summaryrefslogtreecommitdiff
path: root/Zend/tests/bug70293.phpt
blob: 0722fb5fcf8c04295a26e83f72411c4692391e71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--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