summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/bug31190.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/general_functions/bug31190.phpt')
-rw-r--r--ext/standard/tests/general_functions/bug31190.phpt26
1 files changed, 0 insertions, 26 deletions
diff --git a/ext/standard/tests/general_functions/bug31190.phpt b/ext/standard/tests/general_functions/bug31190.phpt
deleted file mode 100644
index 7d154708fa..0000000000
--- a/ext/standard/tests/general_functions/bug31190.phpt
+++ /dev/null
@@ -1,26 +0,0 @@
---TEST--
-Bug #31190 (exception in call_user_func_array())
---FILE--
-<?php
-
-class test {
- function throwException() { throw new Exception("Hello World!\n");
-} }
-
-$array = array(new test(), 'throwException');
-try {
- call_user_func($array, 1, 2);
-} catch (Exception $e) {
- echo $e->getMessage();
-}
-
-try {
- call_user_func_array($array, array(1, 2));
-} catch (Exception $e) {
- echo $e->getMessage();
-}
-?>
---EXPECT--
-Hello World!
-Hello World!
-