what is the difference between these functions ? and why we are assigning an empty value to a function parameter ?
function prints($var = '') {
echo $var; }
function prin($var) {
echo $var; }
Both prints the same result.
what will happen if we assign an empty value to a function parameter ?