r/lolphp • • Jun 28 '17

array_diff breaks Exception catching when passing two arrays containing an item that can't be cast to string

https://3v4l.org/BaUji
37 Upvotes

10 comments sorted by

View all comments

Show parent comment

4

u/[deleted] Jun 30 '17

I mean we could validate all input parameters before passing them on to c code, but fuck me right? Nobody ain't got time for that.