nicholsr Fri Nov 23 15:41:05 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/tests/classes incdec_property_002.phpt incdec_property_004.phpt incdec_property_003.phpt incdec_property_001.phpt assign_op_property_001.phpt Log: Fix incorrect use of assignment in where equality was intended - class tests. http://cvs.php.net/viewvc.cgi/php-src/tests/classes/incdec_property_002.phpt?r1=1.1&r2=1.1.6.1&diff_format=u Index: php-src/tests/classes/incdec_property_002.phpt diff -u php-src/tests/classes/incdec_property_002.phpt:1.1 php-src/tests/classes/incdec_property_002.phpt:1.1.6.1 --- php-src/tests/classes/incdec_property_002.phpt:1.1 Fri Dec 19 15:08:56 2003 +++ php-src/tests/classes/incdec_property_002.phpt Fri Nov 23 15:41:05 2007 @@ -7,13 +7,13 @@ 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; } } http://cvs.php.net/viewvc.cgi/php-src/tests/classes/incdec_property_004.phpt?r1=1.1&r2=1.1.6.1&diff_format=u Index: php-src/tests/classes/incdec_property_004.phpt diff -u php-src/tests/classes/incdec_property_004.phpt:1.1 php-src/tests/classes/incdec_property_004.phpt:1.1.6.1 --- php-src/tests/classes/incdec_property_004.phpt:1.1 Fri Dec 19 15:08:56 2003 +++ php-src/tests/classes/incdec_property_004.phpt Fri Nov 23 15:41:05 2007 @@ -7,13 +7,13 @@ 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; } } http://cvs.php.net/viewvc.cgi/php-src/tests/classes/incdec_property_003.phpt?r1=1.1&r2=1.1.6.1&diff_format=u Index: php-src/tests/classes/incdec_property_003.phpt diff -u php-src/tests/classes/incdec_property_003.phpt:1.1 php-src/tests/classes/incdec_property_003.phpt:1.1.6.1 --- php-src/tests/classes/incdec_property_003.phpt:1.1 Fri Dec 19 15:08:56 2003 +++ php-src/tests/classes/incdec_property_003.phpt Fri Nov 23 15:41:05 2007 @@ -7,13 +7,13 @@ 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; } } http://cvs.php.net/viewvc.cgi/php-src/tests/classes/incdec_property_001.phpt?r1=1.1&r2=1.1.6.1&diff_format=u Index: php-src/tests/classes/incdec_property_001.phpt diff -u php-src/tests/classes/incdec_property_001.phpt:1.1 php-src/tests/classes/incdec_property_001.phpt:1.1.6.1 --- php-src/tests/classes/incdec_property_001.phpt:1.1 Fri Dec 19 15:08:56 2003 +++ php-src/tests/classes/incdec_property_001.phpt Fri Nov 23 15:41:05 2007 @@ -7,13 +7,13 @@ 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; } } http://cvs.php.net/viewvc.cgi/php-src/tests/classes/assign_op_property_001.phpt?r1=1.1&r2=1.1.6.1&diff_format=u Index: php-src/tests/classes/assign_op_property_001.phpt diff -u php-src/tests/classes/assign_op_property_001.phpt:1.1 php-src/tests/classes/assign_op_property_001.phpt:1.1.6.1 --- php-src/tests/classes/assign_op_property_001.phpt:1.1 Fri Dec 19 15:08:56 2003 +++ php-src/tests/classes/assign_op_property_001.phpt Fri Nov 23 15:41:05 2007 @@ -7,13 +7,13 @@ 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; } }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php