Actually objects should usually not be passed by reference. You want the
handle to be passed by value (you will still me manipulating the original
copy of the object). Only if you want to change the handle, i.e. object
instance, do you want to pass by reference.
Andi
At 12:20 PM 9/25/2004 -0700
When defining class methods that take object parameters using
ZEND_BEGIN_ARG_INFO and ZEND_ARG_OBJ_INFO, do you have to define it as
pass_by_ref or does the engine implictly know to pass them by ref.
Im assuming the pass_by_ref flag is more for backcompat reasons.
Thanks
Bob
--
PHP Internals -