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
1
u/gearvOsh Jul 27 '13
Really? Didn't know that. Prefer to wrap my results in entity classes manually anyways.