Arquivos
hhvm/hphp/test/quick/dv.php
T
ptarjan 503f75d08b Rename test directories
These names don't make sense now that we run both suites the same
way.
2013-04-17 09:06:51 -07:00

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();