summaryrefslogtreecommitdiff
path: root/tests/classes/property_recreate_private.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/property_recreate_private.phpt')
-rw-r--r--tests/classes/property_recreate_private.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/classes/property_recreate_private.phpt b/tests/classes/property_recreate_private.phpt
index 7bee1072f9..b37b974845 100644
--- a/tests/classes/property_recreate_private.phpt
+++ b/tests/classes/property_recreate_private.phpt
@@ -53,27 +53,27 @@ var_dump($c);
--EXPECTF--
Unset and recreate a superclass's private property:
object(D)#%d (1) {
- [%u|b%"p":%u|b%"C":private]=>
- %unicode|string%(7) "changed"
+ ["p":"C":private]=>
+ string(7) "changed"
}
Unset superclass's private property, and recreate it as public in subclass:
object(D)#%d (1) {
- [%u|b%"p"]=>
- %unicode|string%(12) "changed in D"
+ ["p"]=>
+ string(12) "changed in D"
}
Unset superclass's private property, and recreate it as public at global scope:
object(D)#%d (1) {
- [%u|b%"p"]=>
- %unicode|string%(34) "this will create a public property"
+ ["p"]=>
+ string(34) "this will create a public property"
}
Unset and recreate a private property:
object(C)#%d (1) {
- [%u|b%"p":%u|b%"C":private]=>
- %unicode|string%(7) "changed"
+ ["p":"C":private]=>
+ string(7) "changed"
}
Unset a private property, and attempt to recreate at global scope (expecting failure):