363d1bb20f
This change is mostly for FB internal organizational reasons. Building is not effected beyond the fact that the target now lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
21 linhas
309 B
PHP
21 linhas
309 B
PHP
<?php
|
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
function foo($a, $b){
|
|
return $a & $b;
|
|
}
|
|
|
|
function test($a, $b) {
|
|
echo "test foo($a, $b)\n";
|
|
for ($i = 0; $i < 20; $i++) {
|
|
$x = foo($a, $b);
|
|
echo $x;
|
|
echo ", ";
|
|
}
|
|
echo "\n";
|
|
}
|
|
|
|
test(true, true);
|
|
test(1, 3);
|
|
test( 2.3, 4.6);
|