summaryrefslogtreecommitdiff
path: root/tests/classes/property_recreate_private.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-11-22 22:12:07 +0100
committerNikita Popov <nikic@php.net>2016-11-24 22:39:39 +0100
commit5af586bec52564e05d8c75ec533e132a9f06e749 (patch)
treecada51fab29d89f724338cdc2ed626ccbee1327d /tests/classes/property_recreate_private.phpt
parent895a82695c148f15df1ff6ab2aa9f55f9b3725ad (diff)
downloadphp-git-5af586bec52564e05d8c75ec533e132a9f06e749.tar.gz
Remove more PHP 6 leftovers from tests
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):