Arquivos
hhvm/hphp/test/quick/hopt_methodcall2.php
T
Tim Starling 998951619f update copyright date
We did not intend to imply our copyrights last forever

Closes #759
2013-06-03 12:43:56 -07:00

20 linhas
236 B
PHP

<?php
// Copyright 2004-2013 Facebook. All Rights Reserved.
echo "Starting\n";
function foo($a, $b, $c) {
return $a + $b + $c;
}
function main() {
$x = 4;
$x = foo(1, $x == 3 ? 3: 2, $x);
echo $x;
}
main();
echo "\ndone";