diff --git a/tests/classes/assign_op_property_001.phpt b/tests/classes/assign_op_property_001.phpt index 54e519e8f62..21e131cfa4e 100644 --- a/tests/classes/assign_op_property_001.phpt +++ b/tests/classes/assign_op_property_001.phpt @@ -7,13 +7,13 @@ class Test { private $real_a = 2; function __set($property, $value) { - if ($property = "a") { + if ($property == "a") { $this->real_a = $value; } } function __get($property) { - if ($property = "a") { + if ($property == "a") { return $this->real_a; } } diff --git a/tests/classes/incdec_property_001.phpt b/tests/classes/incdec_property_001.phpt index 39bf06f65fb..97a24d30b64 100644 --- a/tests/classes/incdec_property_001.phpt +++ b/tests/classes/incdec_property_001.phpt @@ -7,13 +7,13 @@ class Test { private $real_a = 2; function __set($property, $value) { - if ($property = "a") { + if ($property == "a") { $this->real_a = $value; } } function __get($property) { - if ($property = "a") { + if ($property == "a") { return $this->real_a; } } diff --git a/tests/classes/incdec_property_002.phpt b/tests/classes/incdec_property_002.phpt index fe08625ea80..c1d7dded3b0 100644 --- a/tests/classes/incdec_property_002.phpt +++ b/tests/classes/incdec_property_002.phpt @@ -7,13 +7,13 @@ class Test { private $real_a = 2; function __set($property, $value) { - if ($property = "a") { + if ($property == "a") { $this->real_a = $value; } } function __get($property) { - if ($property = "a") { + if ($property == "a") { return $this->real_a; } } diff --git a/tests/classes/incdec_property_003.phpt b/tests/classes/incdec_property_003.phpt index d26277ab8d1..1a923849f41 100644 --- a/tests/classes/incdec_property_003.phpt +++ b/tests/classes/incdec_property_003.phpt @@ -7,13 +7,13 @@ class Test { private $real_a = 2; function __set($property, $value) { - if ($property = "a") { + if ($property == "a") { $this->real_a = $value; } } function __get($property) { - if ($property = "a") { + if ($property == "a") { return $this->real_a; } } diff --git a/tests/classes/incdec_property_004.phpt b/tests/classes/incdec_property_004.phpt index 5ccad190b8a..05e3b445ac1 100644 --- a/tests/classes/incdec_property_004.phpt +++ b/tests/classes/incdec_property_004.phpt @@ -7,13 +7,13 @@ class Test { private $real_a = 2; function __set($property, $value) { - if ($property = "a") { + if ($property == "a") { $this->real_a = $value; } } function __get($property) { - if ($property = "a") { + if ($property == "a") { return $this->real_a; } }