function funcA(...args: string[]) {
}
function funcB(...args: string[]) {
funcA(...args);
let c = '11';
let d = args[0];
let f = d.includes('1');
funcA('a', ...args, c);
}
function funcC(a: string, ...args: string[]) {
}
function funcA() {
$args = func_get_args();
}
function funcB() {
$args = func_get_args();
call_user_func_array("funcA", $args);
$c = "11";
$d = $args[0];
$f = \Ts2Php_Helper::includes($d, "1");
call_user_func_array("funcA", array_merge(array("a"), $args, array($c)));
}
function funcC() {
$a = func_get_arg(0); $args = array_slice(func_get_args(), 1);
}