diff options
Diffstat (limited to 'Zend/tests/closure_018.phpt')
-rw-r--r-- | Zend/tests/closure_018.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/closure_018.phpt b/Zend/tests/closure_018.phpt index 2dcf15c6aa..0241d3e8ee 100644 --- a/Zend/tests/closure_018.phpt +++ b/Zend/tests/closure_018.phpt @@ -6,7 +6,7 @@ Closure 018: Assigning lambda to static var and returning by ref class foo { public function test(&$x) { static $lambda; - $lambda = function &() use (&$x) { + $lambda = function &() use (&$x) { return $x = $x * $x; }; return $lambda(); |