]> granicus.if.org Git - php/commitdiff
Update test that now generates a warning after r306931, which increased the
authorAdam Harvey <aharvey@php.net>
Wed, 23 Mar 2011 08:43:36 +0000 (08:43 +0000)
committerAdam Harvey <aharvey@php.net>
Wed, 23 Mar 2011 08:43:36 +0000 (08:43 +0000)
error you get when silently casting an empty variable to an object to an
E_WARNING from E_STRICT.

tests/lang/bug7515.phpt

index b33ae24c89e7cd9b0b9b30496c6d7bf9fdb14219..ea58061db05c908993237cd3f6bed8000ae4ecaa 100644 (file)
@@ -32,5 +32,6 @@ y=$y
 ";
 }
 ?>
---EXPECT--
+--EXPECTF--
+Warning: Creating default object from empty value in %s on line %d
 success