From: Marcus Boerger Date: Tue, 30 Mar 2004 21:13:05 +0000 (+0000) Subject: Fix test X-Git-Tag: php-5.0.0RC2RC1~145 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76ae4e10bf9eff230db84482b178706f8427fa51;p=php Fix test --- diff --git a/ext/reflection/tests/bug26695.phpt b/ext/reflection/tests/bug26695.phpt index e2eab7e147..859168f6ae 100755 --- a/ext/reflection/tests/bug26695.phpt +++ b/ext/reflection/tests/bug26695.phpt @@ -11,7 +11,7 @@ class Bar { } } -$class = new Reflection_Class('bar'); +$class = new ReflectionClass('bar'); $methods = $class->getMethods(); $params = $methods[0]->getParameters(); diff --git a/ext/reflection/tests/static_properties_002.phpt b/ext/reflection/tests/static_properties_002.phpt index d62d8aca5b..29b84a8e65 100755 --- a/ext/reflection/tests/static_properties_002.phpt +++ b/ext/reflection/tests/static_properties_002.phpt @@ -44,7 +44,7 @@ derived::inc(); base::show(); derived::show(); -$r = new reflection_class('derived'); +$r = new ReflectionClass('derived'); echo 'Number of properties: '. count($r->getStaticProperties()) . "\n"; echo "Done\n";