Arquivos
hhvm/hphp/test/quick/zend_closure_020.php.expectf
T
Paul Tarjan 269ec416d5 Rename closures and generators - take 3
This reverts commit 2e9677b7c3f37e9627b9cbc9a6ddec82a10e7215.

Third time is the charm. I hid it from reflection, but I missed `get_class_methods`.

The diff betweenn this and what was reverted is https://phabricator.fb.com/P2217891 and then I did https://phabricator.fb.com/P2217904 because it looked like it should be done.
2013-06-12 11:34:39 -07:00

13 linhas
259 B
Plaintext

object(foo)#1 (2) {
["test":"foo":private]=>
int(3)
["a"]=>
object(Closure$foo::x)#2 (1) {
["a":"Closure$foo::x":private]=>
*RECURSION*
}
}
bool(true)
bool(true)
HipHop Fatal error: Cannot access private property foo::$test in %s on line 19