- array_slice: documentation ( source)
- print_r: documentation ( source)
<?php
function derp($dont,$show,$these) {
$args = func_get_args();
if (count($args) > 3) {
$args = array_slice($args,3);
print_R($args);
}
echo "no args";
}
derp('dont','show','these','show','these');