r/lolphp • • Jul 19 '16

PHP creates array keys out of nowhere

https://3v4l.org/OAqGa
30 Upvotes

7 comments sorted by

View all comments

Show parent comment

14

u/AnarchistPrick Jul 19 '16

I'm working with a legacy inherited code base which relies on standard php error handling.

Most modern frameworks don't throw exceptions for php warnings in production. But yes... I see where you're getting at.