PageRenderTime 108ms CodeModel.GetById 105ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/facebook/hiphop-php
PHP | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | 0e06c73b1d171192e8d04f3fffaebeb2 MD5 | raw file
 1<?php
 2
 3function f() {
 4 return 3;
 5 }
 6function test($f) {
 7  $x = $f();
 8  return compact('x');
 9}
10var_dump(test('f'));