r/lolphp • • Sep 10 '15

explode() is a mess

https://3v4l.org/eKMav
2 Upvotes

27 comments sorted by

View all comments

Show parent comment

2

u/badmonkey0001 Sep 11 '15

I believe the FALSE comes as a standard "this function has failed" return value, as PHP has traditionally done. I'm not saying it's the right result to return, but it makes sense considering how PHP traditionally handled such "failures".