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

Language PHP Lines 16
MD5 Hash 4fa61229d61a573e9a1e5fafa00d5d32 Estimated Cost $283 (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
13
14
15
<?php

function f() {
 return true;
 }
function test() {
  $a = 100;
  if (compact('a', 'b')) {
 }
  var_dump(compact('a', 'b'));
  if (f()) $b = 1;
 else $b = new Exception();
  return $b;
}
test();
Back to Top