PageRenderTime 101ms CodeModel.GetById 60ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

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

http://github.com/facebook/hiphop-php
PHP | 15 lines | 14 code | 1 blank | 0 comment | 3 complexity | 4fa61229d61a573e9a1e5fafa00d5d32 MD5 | raw file
 1<?php
 2
 3function f() {
 4 return true;
 5 }
 6function test() {
 7  $a = 100;
 8  if (compact('a', 'b')) {
 9 }
10  var_dump(compact('a', 'b'));
11  if (f()) $b = 1;
12 else $b = new Exception();
13  return $b;
14}
15test();