I believe so - but why are you passing a the object a reference to itself?
If you need to access parts of the object from within, use the $this->
> It works but was wondering if its 'legal' to use it like this ->
This looks like it makes more sense as you are passing a reference to $bar
into $lcre - as long as your function is setup to accept this type of object
and knows what to do with it.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php