hiphop-php /hphp/test/slow/dynamic_variables/1159.php

Language PHP Lines 13
MD5 Hash fb5afc99aa9f647cecdf32b025a0426e Estimated Cost $215 (why?)
Repository git://github.com/facebook/hiphop-php.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<?php

function foo($a) {
  while ($a--) {
    if (!$a) {
      var_dump(compact('x', 'y'));
    }
    $x = $a;
    $y = $a * $a;
  }
}
foo(4);
Back to Top