Overload objects

php.internals

epplestun

23 years ago
Hi, i have this error: "Cannot create references to/from string offsets nor overloaded objects" The line who emits this is : $array[$i + $offset] =& mysql_fetch_array($result); The version of php is: PHP 4.3 $i and $offsset are integers. Why this error?¿

Rasmus Lerdorf

23 years ago
Don't use =& here. It doesn't buy you anything. -Rasmus On Wed, 30 Apr 2003, epplestun wrote: