summaryrefslogtreecommitdiff
path: root/Zend/tests/exception_011.phpt
blob: a9905cc2f71347417e84d2ad07da9422bab96491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Test exception doesn't cause RSHUTDOWN bypass, variation 0
--INI--
assert.bail=1
assert.exception=1
--FILE--
<?php

define ("XXXXX", 1);
assert(false);

?>
--EXPECTHEADERS--
Content-type: text/html; charset=UTF-8
--EXPECTF--
Fatal error: Uncaught AssertionError: assert(false) in %sexception_011.php:%d
Stack trace:
#0 %sexception_011.php(%d): assert(false, 'assert(false)')
#1 {main}
  thrown in %sexception_011.php on line %d