The context is: we've just updated the php used on the production server from 5.2 to 5.3 At some point it spawned a horde of E_DEPRECATED errors.
The problem was: nasılsa, E_DEPRECATED hata metni bir Mysqli istisna (özellikle, bir Mysqli hatası hazırlamak) neden SQL sorgusu INTO var. SQL sorgusu kitaplığı kullanarak bir proje üretildi ise hata, ana kitaplıkta yayılan edildi.
Sorgu gibi bir şey oldu:
SELECT foo
FROM some_table
WHERE id IN (1,2,3,4,5
Deprecated: Assigning the return value of new by reference is deprecated in some_file.php on line NN
Deprecated: Assigning the return value of new by reference is de,6,7,8,9)
The question: bu nasıl olabilirdi ..?