diff options
Diffstat (limited to 'ext/standard/tests/general_functions/bug36011.phpt')
-rwxr-xr-x | ext/standard/tests/general_functions/bug36011.phpt | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/ext/standard/tests/general_functions/bug36011.phpt b/ext/standard/tests/general_functions/bug36011.phpt deleted file mode 100755 index 08a45014f2..0000000000 --- a/ext/standard/tests/general_functions/bug36011.phpt +++ /dev/null @@ -1,46 +0,0 @@ ---TEST-- -Bug #36011 (Strict errormsg wrong for call_user_func() and the likes) ---FILE-- -<?php - -class TestClass -{ - static function test() - { - echo __METHOD__ . "()\n"; - } - - function whee() - { - array_map(array('TestClass', 'test'), array('array_value')); - } - - function whee4() - { - call_user_func(array('TestClass', 'test')); - } - - static function whee5() - { - call_user_func(array('TestClass', 'test')); - } -} - -TestClass::test(); - -$a = new TestClass(); -$a->whee(); -$a->whee4(); -$a->whee5(); - -TestClass::whee5(); - -?> -===DONE=== ---EXPECTF-- -TestClass::test() -TestClass::test() -TestClass::test() -TestClass::test() -TestClass::test() -===DONE=== |