summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/bug40431.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/bug40431.phpt')
-rw-r--r--ext/reflection/tests/bug40431.phpt4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/reflection/tests/bug40431.phpt b/ext/reflection/tests/bug40431.phpt
index 6e6e4c5eb..863df7a78 100644
--- a/ext/reflection/tests/bug40431.phpt
+++ b/ext/reflection/tests/bug40431.phpt
@@ -4,7 +4,7 @@ Bug #40431 (dynamic properties may cause crash in ReflectionProperty methods)
<?php
echo "=== 1st test ===\n";
-
+$Obj = new stdClass;
$Obj->value = 'value';
$RefObj = new ReflectionObject($Obj);
@@ -78,8 +78,6 @@ echo "Done\n";
?>
--EXPECTF--
=== 1st test ===
-
-Strict Standards: Creating default object from empty value in %s on line %d
array(1) {
[0]=>
&object(ReflectionProperty)#%d (2) {