summaryrefslogtreecommitdiff
path: root/Zend/tests/bug69201.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug69201.phpt')
-rw-r--r--Zend/tests/bug69201.phpt18
1 files changed, 9 insertions, 9 deletions
diff --git a/Zend/tests/bug69201.phpt b/Zend/tests/bug69201.phpt
index 7e2944c49f..7a70912cf0 100644
--- a/Zend/tests/bug69201.phpt
+++ b/Zend/tests/bug69201.phpt
@@ -5,17 +5,17 @@ Bug #69201 (Memory leak using iterator and get by reference on PHP 7)
class Entity
{
- protected $_properties = [];
+ protected $_properties = [];
- public function &__get($property)
- {
- $value = null;
- return $value;
- }
+ public function &__get($property)
+ {
+ $value = null;
+ return $value;
+ }
- public function __set($property, $value)
- {
- }
+ public function __set($property, $value)
+ {
+ }
}
$e = new Entity;