diff --git a/ext/standard/tests/general_functions/bug44295.phpt b/ext/standard/tests/general_functions/bug44295.phpt new file mode 100644 index 0000000..9c12719 --- /dev/null +++ b/ext/standard/tests/general_functions/bug44295.phpt @@ -0,0 +1,26 @@ +--TEST-- +user defined error handler + set_error_handling(EH_THROW) +--SKIPIF-- + +--FILE-- +getMessage()."\n"; +} +?> +==DONE== + +--EXPECT-- +before +in catch: DirectoryIterator::__construct(/this/path/does/not/exist): failed to open dir: No such file or directory +==DONE==