summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionObject_isInstantiable_variation.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/ReflectionObject_isInstantiable_variation.phpt')
-rw-r--r--ext/reflection/tests/ReflectionObject_isInstantiable_variation.phpt18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/reflection/tests/ReflectionObject_isInstantiable_variation.phpt b/ext/reflection/tests/ReflectionObject_isInstantiable_variation.phpt
index 1e5be59299..675bbdde8d 100644
--- a/ext/reflection/tests/ReflectionObject_isInstantiable_variation.phpt
+++ b/ext/reflection/tests/ReflectionObject_isInstantiable_variation.phpt
@@ -6,49 +6,49 @@ ReflectionObject::IsInstantiable() - variation - constructors
class noCtor {
public static function reflectionObjectFactory() {
return new ReflectionObject(new self);
- }
+ }
}
class publicCtorNew {
public function __construct() {}
public static function reflectionObjectFactory() {
return new ReflectionObject(new self);
- }
+ }
}
class protectedCtorNew {
protected function __construct() {}
public static function reflectionObjectFactory() {
return new ReflectionObject(new self);
- }
+ }
}
class privateCtorNew {
private function __construct() {}
public static function reflectionObjectFactory() {
return new ReflectionObject(new self);
- }
+ }
}
class publicCtorOld {
public function publicCtorOld() {}
public static function reflectionObjectFactory() {
return new ReflectionObject(new self);
- }
+ }
}
class protectedCtorOld {
protected function protectedCtorOld() {}
public static function reflectionObjectFactory() {
return new ReflectionObject(new self);
- }
+ }
}
class privateCtorOld {
private function privateCtorOld() {}
public static function reflectionObjectFactory() {
return new ReflectionObject(new self);
- }
+ }
}
@@ -57,7 +57,7 @@ $reflectionObjects = array(
publicCtorNew::reflectionObjectFactory(),
protectedCtorNew::reflectionObjectFactory(),
privateCtorNew::reflectionObjectFactory(),
- publicCtorOld::reflectionObjectFactory(),
+ publicCtorOld::reflectionObjectFactory(),
protectedCtorOld::reflectionObjectFactory(),
privateCtorOld::reflectionObjectFactory()
);
@@ -65,7 +65,7 @@ $reflectionObjects = array(
foreach($reflectionObjects as $reflectionObject ) {
$name = $reflectionObject->getName();
echo "Is $name instantiable? ";
- var_dump($reflectionObject->IsInstantiable());
+ var_dump($reflectionObject->IsInstantiable());
}
?>
--EXPECTF--