Re: [PHP] Empty reference parameter

2004-01-13 Thread Tom Rogers
Hi, Wednesday, January 14, 2004, 1:10:53 AM, you wrote: SO> Hi, SO> I´m trying to give an empty reference as a parameter of a function. Or SO> rather, make a parameter that is a reference optional. SO> I have a function that should react differently if it is given an object SO> or not. It works,

[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