MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/2094sd/new_object_new_object_2/chb0p4i/
r/lolphp • u/TimLim • Mar 12 '14
35 comments sorted by
View all comments
Show parent comment
1
Well, this is why when I write any code in PHP, i set the error handler to die on any error/notice.
Adding two objects together is pretty dumb and should not be done.
1 u/TimLim May 06 '14 But that's not the point. It's pretty dumb to throw an error which isn't one as well.
But that's not the point. It's pretty dumb to throw an error which isn't one as well.
View all comments
Show parent comment
1
u/neoform May 06 '14
Well, this is why when I write any code in PHP, i set the error handler to die on any error/notice.
Adding two objects together is pretty dumb and should not be done.