diff options
Diffstat (limited to 'Zend/tests/bug47165.phpt')
-rw-r--r-- | Zend/tests/bug47165.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/tests/bug47165.phpt b/Zend/tests/bug47165.phpt index 2cf648d855..7f47242a1e 100644 --- a/Zend/tests/bug47165.phpt +++ b/Zend/tests/bug47165.phpt @@ -3,13 +3,13 @@ Bug #47165 (Possible memory corruption when passing return value by reference) --FILE-- <?php class Foo { - var $bar = array(); + var $bar = array(); - static function bar() { - static $instance = null; - $instance = new Foo(); - return $instance->bar; - } + static function bar() { + static $instance = null; + $instance = new Foo(); + return $instance->bar; + } } extract(Foo::bar()); echo "ok\n"; |