1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00

Forgot test script

This commit is contained in:
Xinchen Hui
2013-02-07 23:49:35 +08:00
parent ee825e0b42
commit 7948eea6f9
+17
View File
@@ -0,0 +1,17 @@
--TEST--
Bug #64135 (Exceptions from set_error_handler are not always propagated)
--FILE--
<?php
function exception_error_handler() {
throw new Exception();
}
set_error_handler("exception_error_handler");
try {
$undefined->undefined();
} catch(Exception $e) {
echo "Exception is thrown";
}
--EXPECT--
Exception is thrown