summaryrefslogtreecommitdiff
path: root/tests/lang/bug24499.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug24499.phpt')
-rwxr-xr-xtests/lang/bug24499.phpt24
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
-)