503f75d08b
These names don't make sense now that we run both suites the same way.
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();
|