PHP 8.2.20 Released!

Voting

: min(eight, zero)?
(Example: nine)

The Note You're Voting On

thalis at NOSPAMcs dot pitt dot edu
22 years ago
The idea of func_get_args() is to construct functions of variable number of parameters like

<?php
function var_param_func(){
if(
func_num_args()==0){
//do one thing
}
if(
func_num_args()==1)
//do another thing
//get the args with func_get_args()
}
}
?>

<< Back to user notes page

To Top