]> granicus.if.org Git - php/commitdiff
Fix test
authorMarcus Boerger <helly@php.net>
Tue, 30 Mar 2004 21:13:05 +0000 (21:13 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 30 Mar 2004 21:13:05 +0000 (21:13 +0000)
ext/reflection/tests/bug26695.phpt
ext/reflection/tests/static_properties_002.phpt

index e2eab7e1479550da6ff8ad2ae15140b5ef0000f6..859168f6ae0d6f56b1bf01b26215cc4bd90b2865 100755 (executable)
@@ -11,7 +11,7 @@ class Bar {
   }
 }
 
-$class = new Reflection_Class('bar');
+$class = new ReflectionClass('bar');
 $methods = $class->getMethods();
 $params = $methods[0]->getParameters();
 
index d62d8aca5b1001f199c598c8e2516324ef11996a..29b84a8e65974c047797cca85c48f6d4fc518ad2 100755 (executable)
@@ -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";