[PHP] Empty reference parameter

2004-01-13 Thread Sebastian Ossio
Hi, I´m trying to give an empty reference as a parameter of a function. Or rather, make a parameter that is a reference optional. I have a function that should react differently if it is given an object or not. It works, but it gives me a warning that the second argument is not being given obv

[PHP] Empty Reference to an Object

2004-01-13 Thread Sebastian Ossio
Hi, I´m trying to give an empty reference as a parameter, in a function. Or rather make a parameter that is a reference optional. I have a function that should react differently if it is given an object or not. It works, but it gives me a warning that the second argument is not being given obv