I'd suggest doing a little bit of background legwork on basic programming concepts before jumping into "advanced PHP"
I will assume you mean user-defined functions. Seriously, it would be good (in general) to read up on user-defined functions, passing arguments, setting default values, overloading functions, and returning values.
A quick Google search will help you out with that.
Cheers