summaryrefslogtreecommitdiff
path: root/tests/classes/incdec_property_004.phpt
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
committerSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
commit88ec761548b66f58acc1a86cdd0fc164ca925476 (patch)
treed0af978fa00d83bb1d82c613f66477fbd6bb18aa /tests/classes/incdec_property_004.phpt
parent268984b4787e797db6054313fc9ba3b9e845306e (diff)
downloadphp-git-PECL_OPENSSL.tar.gz
This commit was manufactured by cvs2svn to create branch 'PECL_OPENSSL'.PECL_OPENSSL
Diffstat (limited to 'tests/classes/incdec_property_004.phpt')
-rw-r--r--tests/classes/incdec_property_004.phpt31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/classes/incdec_property_004.phpt b/tests/classes/incdec_property_004.phpt
deleted file mode 100644
index 5ccad190b8..0000000000
--- a/tests/classes/incdec_property_004.phpt
+++ /dev/null
@@ -1,31 +0,0 @@
---TEST--
-ZE2 pre increment/decrement property of overloaded object with assignment
---FILE--
-<?php
-
-class Test {
- private $real_a = 2;
-
- function __set($property, $value) {
- if ($property = "a") {
- $this->real_a = $value;
- }
- }
-
- function __get($property) {
- if ($property = "a") {
- return $this->real_a;
- }
- }
-}
-
-$obj = new Test;
-var_dump($obj->a);
-$t1 = ++$obj->a;
-var_dump($obj->a);
-echo "---Done---\n";
-?>
---EXPECT--
-int(2)
-int(3)
----Done---