diff options
Diffstat (limited to 'tests/lang/bug24499.phpt')
-rwxr-xr-x | tests/lang/bug24499.phpt | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/lang/bug24499.phpt b/tests/lang/bug24499.phpt deleted file mode 100755 index 6ce56dbad7..0000000000 --- a/tests/lang/bug24499.phpt +++ /dev/null @@ -1,24 +0,0 @@ ---TEST-- -Bug #24499 (bogus handling of a public property as a private one) ---FILE-- -<?php -class Id { - private $id="priv"; - - public function tester($obj) - { - $obj->id = "bar"; - } -} - -$id = new Id(); -@$obj->foo = "bar"; -$id->tester($obj); -print_r($obj); -?> ---EXPECT-- -stdClass Object -( - [foo] => bar - [id] => bar -) |