View Single Post
Old 06-20-2005, 10:34 PM   #1 (permalink)
falsepride
Regular Contributor
 
Join Date: Oct 2004
Posts: 227
falsepride is on a distinguished road
predefined function variables. ugh!!

okay i have a function with 3 predefined variables like

function blah($b1 = false, $b2 = "1", $ugh = "i'm stupid")

when i call the function how i can i just use define the second or third variable and use the predifined for the others? i tried blah(, , false); but thats not it.

and heres a random question. i saw other peoples functions on old scripts i downloaded. and they had this function blah2(&$blahblah) whats the & for?
falsepride is offline   Reply With Quote