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
Happy New Year (again)
[hiphop-php.git]
/
hphp
/
test
/
quick
/
hopt_varenv.php
blob
73b785fa8ef097237aacdb8bf85efddbc9d7ceb3
1
<
?php
2
// Copyright 2004-2014 Facebook. All Rights Reserved.
3
4
function
foo
(
$x
){
5
$a
=
1
;
6
$b
=
2
;
7
$c
=
3
;
8
return
$
$x
;
9
}
10
11
$s
=
foo
(
"a"
);
12
echo
$s
;
13
$s
=
foo
(
"b"
);
14
echo
$s
;
15
$s
=
foo
(
"c"
);
16
echo
$s
;
17
echo
"
\n
"
;
18
$s
=
foo
(
"d"
);
19
echo
$s
;
20