4d7004e955
In Zend 5.3 they decided that closures should inherit the ##$this## from the containing scope. This brings us close to paraity with them. The remaining thing is to make
function() use ($this) {}
fatal after we purge it from WWW.
21 linhas
227 B
Plaintext
21 linhas
227 B
Plaintext
array(1) {
|
|
[0]=>
|
|
string(3) "foo"
|
|
}
|
|
array(1) {
|
|
[0]=>
|
|
string(3) "foo"
|
|
}
|
|
array(1) {
|
|
[0]=>
|
|
string(3) "foo"
|
|
}
|
|
array(2) {
|
|
[0]=>
|
|
string(3) "foo"
|
|
[1]=>
|
|
string(3) "bar"
|
|
}
|
|
string(12) "foofoobarbar"
|
|
string(6) "foobar"
|