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.
27 linhas
365 B
PHP
27 linhas
365 B
PHP
<?php
|
|
|
|
error_reporting(0);
|
|
|
|
function foo($a, $b=22, $c=33) {
|
|
echo "$a/$b/$c\n";
|
|
}
|
|
|
|
function main() {
|
|
foo(1, 2, 3, 4);
|
|
foo(1, 2, 3);
|
|
foo(1, 2);
|
|
foo(1);
|
|
foo();
|
|
|
|
function out_of_order($a=44, $b, $c=66) {
|
|
echo "$a/$b/$c\n";
|
|
}
|
|
|
|
out_of_order(4, 5, 6, 7);
|
|
out_of_order(4, 5, 6);
|
|
out_of_order(4, 5);
|
|
out_of_order(4);
|
|
out_of_order();
|
|
}
|
|
main();
|