From: Marcus Boerger Date: Sun, 13 Feb 2005 13:59:07 +0000 (+0000) Subject: - MFH X-Git-Tag: php-5.0.4RC1~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8dfe739037235aecd346dea7febccaa339a20b9;p=php - MFH --- diff --git a/ext/reflection/tests/invoke.phpt b/ext/reflection/tests/invoke.phpt deleted file mode 100755 index a79b0e0b06..0000000000 --- a/ext/reflection/tests/invoke.phpt +++ /dev/null @@ -1,42 +0,0 @@ ---TEST-- -invoke with non object or null value ---FILE-- -getMethod("a"); - -try { - $m->invoke(null); -} catch (ReflectionException $E) { - echo $E->getMessage()."\n"; -} - - -try { - $m->invoke($b); -} catch (ReflectionException $E) { - echo $E->getMessage()."\n"; -} - -$b = new a(); -try { - $m->invoke($b); -} catch (ReflectionException $E) { - echo $E->getMessage()."\n"; -} - -echo "===DONE===\n";?> ---EXPECT-- -Non-object passed to Invoke() -Given object is not an instance of the class this method was declared in -===DONE===