summaryrefslogtreecommitdiff
path: root/Zend/tests/closure_026.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/closure_026.phpt')
-rw-r--r--Zend/tests/closure_026.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/tests/closure_026.phpt b/Zend/tests/closure_026.phpt
index 82a948d1a0..50c850e787 100644
--- a/Zend/tests/closure_026.phpt
+++ b/Zend/tests/closure_026.phpt
@@ -6,13 +6,13 @@ Closure 026: Assigning a closure object to an array in $this
class foo {
public function __construct() {
$a =& $this;
-
+
$a->a[] = function() {
- return 1;
+ return 1;
};
-
+
var_dump($this);
-
+
var_dump($this->a[0]());
}
}