]> granicus.if.org Git - php/commitdiff
Added Test (the lineno should be fixed)
authorXinchen Hui <laruence@php.net>
Mon, 18 May 2015 03:14:03 +0000 (11:14 +0800)
committerXinchen Hui <laruence@php.net>
Mon, 18 May 2015 03:16:57 +0000 (11:16 +0800)
Zend/tests/bug69640.phpt [new file with mode: 0644]

diff --git a/Zend/tests/bug69640.phpt b/Zend/tests/bug69640.phpt
new file mode 100644 (file)
index 0000000..9c4827a
--- /dev/null
@@ -0,0 +1,8 @@
+--TEST--
+Bug #69640 Unhandled EngineExceptions thrown from userland do not produce any output
+--FILE--
+<?php
+throw new \ParseException('I mess everything up! :trollface:');
+?>
+--EXPECTF--
+Fatal error: I mess everything up! :trollface: in %sbug69640.php on line 2