PHP Function with single arguments and Multiple arguments in PHP

<?php
function code($a) {
    echo $a;
    echo "<br>";
    
}
code(3);
code("Prasanna Vijayan");
?>
// passing arguments can be integer or any datatype (String, Boolean, Float ) 

<?php
function code($a,$b) {
    echo $a;
    echo "<br>",$b;
}
code(3,'');
code("Prasanna Vijayan",446);
?>
//it is mandatory that you should pass at least null variable