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