a1802db1d2
PHP added this in 5.4 so that you can say your closure shouldn't capture ##$this##. https://wiki.php.net/rfc/closures Should we add it? Many of their unit tests use it. Instead of putting a boolean somewhere I used the same attr framework and set the static bit there. Thoughts? It only needs one change in the ##FPushFunc##.
2 linhas
86 B
Plaintext
2 linhas
86 B
Plaintext
HipHop Fatal error: $this is null in hphp/test/vm/closure_recursive_bad.php on line 6
|