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

Language PHP Lines 12
MD5 Hash 811aff7f9cfa8a0b53b798ed6755ab7a 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 test() {
 $a = 10;
 $b = 'test';
   var_dump(compact('ab'));
   var_dump(compact('a', 'ab', 'b'));
   var_dump(compact('a', array('ab', 'b')));
}
 test();
Back to Top