PHP , , PHP func_get_args()
function noprms(){
$count = func_num_args();
$args = func_get_args();
echo "There were $count arguments passed \n";
echo "Number ".implode(",\nNumber ",$args)."\n";
}
noprms(1,2,3,4,5)."\n";
noprms(1,2,3,4,5,6,7,8,9)."\n";
Demo