summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/010.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/general_functions/010.phpt')
-rw-r--r--ext/standard/tests/general_functions/010.phpt25
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/standard/tests/general_functions/010.phpt b/ext/standard/tests/general_functions/010.phpt
deleted file mode 100644
index 8d1075f842..0000000000
--- a/ext/standard/tests/general_functions/010.phpt
+++ /dev/null
@@ -1,25 +0,0 @@
---TEST--
-register_shutdown_function() & __call
---FILE--
-<?php
-class test {
- function _foo() {
- throw new Exception('test');
- }
- function __call($name=null, $args=null) {
- return test::_foo();
- }
-}
-
-var_dump(register_shutdown_function(array("test","__call")));
-
-echo "Done\n";
-?>
---EXPECTF--
-Strict Standards: Non-static method test::__call() cannot be called statically in %s on line %d
-NULL
-Done
-
-Strict Standards: Non-static method test::__call() cannot be called statically in Unknown on line 0
-
-Fatal error: Non-static method test::__call() cannot be called statically in Unknown on line 0