com php-src: Added Test (the lineno should be fixed): Zend/tests/bug69640.phpt
| From: | Xinchen Hui | Date: | Mon, 18 May 2015 03:16:57 +0000 |
| Subject: | com php-src: Added Test (the lineno should be fixed): Zend/tests/bug69640.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86786@lists.php.net to get a copy of this message | ||
Commit: ab680e7f6e150a27636dd059eb30768696feca2a
Author: Xinchen Hui <laruence@php.net> Mon, 18 May 2015 11:14:03 +0800
Parents: a5f408c91bb4403332116237cfebbdd6b7c6e5ab
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ab680e7f6e150a27636dd059eb30768696feca2a
Log:
Added Test (the lineno should be fixed)
Changed paths:
A Zend/tests/bug69640.phpt
Diff:
diff --git a/Zend/tests/bug69640.phpt b/Zend/tests/bug69640.phpt
new file mode 100644
index 0000000..9c4827a
--- /dev/null
+++ b/Zend/tests/bug69640..phpt
@@ -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