Arquivos
hhvm/hphp/test/vm/closure_recursive_bad.php.exp
T
ptarjan a1802db1d2 allow static keyword before closure
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##.
2013-03-21 16:50:55 -07:00

2 linhas
86 B
Plaintext

HipHop Fatal error: $this is null in hphp/test/vm/closure_recursive_bad.php on line 6