Fix memoization of functions called with keyset arguments
[hiphop-php.git] / hphp / test / quick / flow.php
blob67fb80ef5fefcd023b39429ce71ae57485eb8712
1 <?php
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;
10 function f() {
11 return 2 + 3 + 4;
14 function g() {
15 return 1 + 7;
18 echo "$y " . f() . " " . g() . "\n";