repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
closure_use_immediately.php
blob
6aa5f1633ae37a93544c956948e64e160cc2a6b3
1
<
?hh
2
3
class
A
{}
4
5
function
a
() {
6
$b
=
new
A
;
7
$c
=
function
()
use
(
$b
) {
8
return
$b
;
9
};
10
return
$c
();
11
}
12
13
var_dump
(
a
());