Posted by Nikola Skoric on 11/18/21 11:42
Hi there, is something like this possible in PHP:
function foo($a=1, $b=2, $c=3) {
//...
}
foo($b=2);
Will this assign $a and $c to default values?
--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
[Back to original message]
|