xref: /PHP-7.3/Zend/tests/exception_011.phpt (revision 782352c5)
1--TEST--
2Test exception doesn't cause RSHUTDOWN bypass, variation 0
3--INI--
4assert.bail=1
5assert.exception=1
6--FILE--
7<?php
8
9define ("XXXXX", 1);
10assert(false);
11
12?>
13--EXPECTHEADERS--
14Content-type: text/html; charset=UTF-8
15--EXPECTF--
16Fatal error: Uncaught AssertionError: assert(false) in %sexception_011.php:%d
17Stack trace:
18#0 %sexception_011.php(%d): assert(false, 'assert(false)')
19#1 {main}
20  thrown in %sexception_011.php on line %d
21