global statement removal: hphp/test [7/x]
[hiphop-php.git] / hphp / test / quick / hopt-eqResources.php
blob2e703f044196baea9926bf1f5dfdbfa5794e400d
1 <?hh
3 function foo($x, $y) {
4 var_dump($x == $y);
5 var_dump($x === $y);
8 $x1 = new stdClass;
9 $x2 = new stdClass;
10 $y1 = curl_init();
11 $y2 = curl_init();
13 foo($x1, $x1);
14 foo($x1, $x2);
15 foo($x1, $y1);
16 foo($x1, $y2);
18 foo($x2, $x1);
19 foo($x2, $x2);
20 foo($x2, $y1);
21 foo($x2, $y2);
23 foo($y1, $x1);
24 foo($y1, $x2);
25 foo($y1, $y1);
26 foo($y1, $y2);
28 foo($y2, $x1);
29 foo($y2, $x2);
30 foo($y2, $y1);
31 foo($y2, $y2);