From 11ae876f3489fcfaf4c077e18ddca25efff4f8f2 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Mon, 6 Dec 2004 16:08:08 +0000 Subject: [PATCH] add test --- Zend/tests/bug30998.phpt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 Zend/tests/bug30998.phpt diff --git a/Zend/tests/bug30998.phpt b/Zend/tests/bug30998.phpt new file mode 100755 index 0000000000..d0ace9fa16 --- /dev/null +++ b/Zend/tests/bug30998.phpt @@ -0,0 +1,21 @@ +--TEST-- +Bug #30998 (Crash when user error handler returns false) +--FILE-- + +===DONE=== +--EXPECTF-- +fopen(/tmp/blah): failed to open stream: No such file or directory (2) in %s:%d + +Warning: fopen(/tmp/blah): failed to open stream: No such file or directory in %s on line %d +===DONE=== -- 2.50.1