We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8365f5c commit 9088615Copy full SHA for 9088615
1 file changed
Zend/tests/gc/bug60139.phpt
@@ -8,7 +8,7 @@ class Foo {
8
public $x;
9
10
public function __construct() {
11
- $this->x = function () { $this; };
+ $this->x = function () { return $this; };
12
}
13
14
@@ -17,7 +17,7 @@ class Bar {
17
18
19
$self = $this;
20
- $this->x = function() use ($self) { $this; };
+ $this->x = function() use ($self) { return $this; };
21
22
23
0 commit comments