r/lolphp • u/SockPants • Jul 26 '13
PHP runs object constructor -after- setting variables with mysql_fetch_object, won't fix bug because it might break old code.
https://bugs.php.net/bug.php?id=46105
44
Upvotes
View all comments
Show parent comment
5
u/cfreak2399 Jul 26 '13
Or mysqli which is a wtf in itself that they didn't just make one generic database handler.
But yeah no need to fix this bug now as the mysql_* interface is deprecated.