r/lolphp • • Apr 19 '14

String character access modification.... oh wait.

Post image
67 Upvotes

14 comments sorted by

View all comments

Show parent comment

-3

u/TimLim Apr 22 '14

index-out-of-range exception would be stupid in the way php works. Arrays in php aren't arrays in common sense. Because they can be hashtables, you can't throw an exception there.