Commit 123cd86
committed
Change
Using `$this` as a parameter name in a closure under PHP 7 causes a memory leak
under some specific circumstances which are present in this component.
Relevant PHP issue: https://bugs.php.net/bug.php?id=71737
More information: https://gist.github.com/jmalloc/e3db5842c2c4ab2a1edf$this parameter in closure to $that to prevent memory leak.1 parent ea34298 commit 123cd86
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments