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
/
flow.php
blob
92fbecb50a8a73d7c10f01dba1ee63d1e6da65af
1
<
?hh
2
3
$x
=
2
+
3
;
4
if
(
$x
<
4
) {
5
$y
=
1
+
2
*
3
/
4
%
5
;
6
}
else
{
7
$y
=
6
+
7
-
8
*
9
/
10
%
11
;
8
}
9
10
function
f
() {
11
return
2
+
3
+
4
;
12
}
13
14
function
g
() {
15
return
1
+
7
;
16
}
17
18
echo
"
$y
"
.
f
() .
" "
.
g
() .
"
\n
"
;
19
20