Menu

#86 Assigning the return value of new by reference is deprecated

open
nobody
None
5
2007-05-25
2007-05-25
Daniel
No

With PHP5 I get many "Assigning the return value of new by reference is deprecated." in almost all drivers.

I have looked into adoDB lite for the string

=& new

and replaced everything with a construct like:

$tmp = new ...
... =& $tmp;

It worked

Discussion


Log in to post a comment.

MongoDB Logo MongoDB