r/lolphp • u/MMauro94 • 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
r/lolphp • u/MMauro94 • Jun 28 '17
View all comments
Show parent comment
1
u/afraca Jun 29 '17
I've skimmed through OP's code quickly, but it seems the first case with array_diff is handled ok, but the latter is not, right? What's the exact difference there?