diff options
Diffstat (limited to 'tests/lang/037.phpt')
-rwxr-xr-x | tests/lang/037.phpt | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/lang/037.phpt b/tests/lang/037.phpt deleted file mode 100755 index c2a1ee312f..0000000000 --- a/tests/lang/037.phpt +++ /dev/null @@ -1,30 +0,0 @@ ---TEST-- -'Static' binding for private variables ---FILE-- -<?php - -class par { - private $id="foo"; - - function displayMe() - { - $this->displayChild(); - } -}; - -class chld extends par { - private $id = "bar"; - - function displayChild() - { - print $this->id; - } -}; - - -$obj = new chld(); -$obj->displayMe(); - -?> ---EXPECT-- -bar |