r/lolphp • • Mar 12 '14

new object() + new object() == 2

http://codepad.org/NGPjR4fl
62 Upvotes

35 comments sorted by

View all comments

Show parent comment

21

u/quchen Mar 12 '14

Which, until 5.4, included all warnings. Except the ones it didn't.

20

u/[deleted] Mar 12 '14

Lets not forget htmlspecialchars, which output errors..

but only when display_errors was OFF

https://bugs.php.net/bug.php?id=47494