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

Language PHP Lines 11
MD5 Hash 0e06c73b1d171192e8d04f3fffaebeb2 Estimated Cost $170 (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
<?php

function f() {
 return 3;
 }
function test($f) {
  $x = $f();
  return compact('x');
}
var_dump(test('f'));
Back to Top