diff options
Diffstat (limited to 'Zend/tests/bug70293.phpt')
-rw-r--r-- | Zend/tests/bug70293.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Zend/tests/bug70293.phpt b/Zend/tests/bug70293.phpt new file mode 100644 index 0000000000..0722fb5fcf --- /dev/null +++ b/Zend/tests/bug70293.phpt @@ -0,0 +1,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 |