diff options
Diffstat (limited to 'tests/classes/property_recreate_private.phpt')
-rw-r--r-- | tests/classes/property_recreate_private.phpt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/classes/property_recreate_private.phpt b/tests/classes/property_recreate_private.phpt index 35724d4b4d..8dc3e18eb0 100644 --- a/tests/classes/property_recreate_private.phpt +++ b/tests/classes/property_recreate_private.phpt @@ -3,19 +3,19 @@ Unsetting and recreating private properties. --FILE-- <?php class C { - private $p = 'test'; - function unsetPrivate() { - unset($this->p); - } - function setPrivate() { - $this->p = 'changed'; - } + private $p = 'test'; + function unsetPrivate() { + unset($this->p); + } + function setPrivate() { + $this->p = 'changed'; + } } class D extends C { - function setP() { - $this->p = 'changed in D'; - } + function setP() { + $this->p = 'changed in D'; + } } echo "Unset and recreate a superclass's private property:\n"; |