diff options
Diffstat (limited to 'tests/lang/036.phpt')
-rw-r--r-- | tests/lang/036.phpt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/lang/036.phpt b/tests/lang/036.phpt index 474316e363..973deb6a0a 100644 --- a/tests/lang/036.phpt +++ b/tests/lang/036.phpt @@ -3,20 +3,20 @@ Child public element should not override parent private element in parent method --FILE-- <?php class par { - private $id = "foo"; + private $id = "foo"; - function displayMe() - { - print $this->id; - } + function displayMe() + { + print $this->id; + } }; class chld extends par { - public $id = "bar"; - function displayHim() - { - parent::displayMe(); - } + public $id = "bar"; + function displayHim() + { + parent::displayMe(); + } }; |