* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
> > function &create_object() {
> >     [..]
> > }
> >
> > $some_object =& create_object('some_object');
> >

This line should be:
  $some_object = create_object('some_object');

The use of & at calltime is deprecated and should only be used in
the declaration of the functions:
  function &func_name(&$ref_var) { }


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to