summaryrefslogtreecommitdiff
path: root/tests/classes/incdec_property_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/incdec_property_001.phpt')
-rw-r--r--tests/classes/incdec_property_001.phpt22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/classes/incdec_property_001.phpt b/tests/classes/incdec_property_001.phpt
index 8517a9fc4d..664c474097 100644
--- a/tests/classes/incdec_property_001.phpt
+++ b/tests/classes/incdec_property_001.phpt
@@ -4,19 +4,19 @@ ZE2 post increment/decrement property of overloaded object
<?php
class Test {
- private $real_a = 2;
+ private $real_a = 2;
- function __set($property, $value) {
- if ($property == "a") {
- $this->real_a = $value;
- }
- }
+ function __set($property, $value) {
+ if ($property == "a") {
+ $this->real_a = $value;
+ }
+ }
- function __get($property) {
- if ($property == "a") {
- return $this->real_a;
- }
- }
+ function __get($property) {
+ if ($property == "a") {
+ return $this->real_a;
+ }
+ }
}
$obj = new Test;