]> granicus.if.org Git - php/commitdiff
Fixed ext/standard test that calls get_class()
authorDanack <Danack@basereality.com>
Sat, 13 Aug 2016 21:53:03 +0000 (22:53 +0100)
committerDanack <Danack@basereality.com>
Sat, 13 Aug 2016 21:53:03 +0000 (22:53 +0100)
ext/standard/tests/class_object/get_class_variation_001.phpt

index d39da3a99132ada065a023606a30ff47929069b5..3987968e90452d15e953ae11ddccb1df424c9e1d 100644 (file)
@@ -152,12 +152,12 @@ bool(false)
 
 Arg value:  (type: NULL)
 
-Warning: get_class() called without object from outside a class in %sget_class_variation_001.php on line %d
+Warning: get_class() expects parameter 1 to be object, null given in %s on line %d
 bool(false)
 
 Arg value:  (type: NULL)
 
-Warning: get_class() called without object from outside a class in %sget_class_variation_001.php on line %d
+Warning: get_class() expects parameter 1 to be object, null given in %s on line %d
 bool(false)
 
 Arg value: 1 (type: boolean)
@@ -202,11 +202,11 @@ bool(false)
 
 Arg value:  (type: NULL)
 
-Warning: get_class() called without object from outside a class in %sget_class_variation_001.php on line %d
+Warning: get_class() expects parameter 1 to be object, null given in %s on line %d
 bool(false)
 
 Arg value:  (type: NULL)
 
-Warning: get_class() called without object from outside a class in %sget_class_variation_001.php on line %d
+Warning: get_class() expects parameter 1 to be object, null given in %s on line %d
 bool(false)
 Done