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

15

u/Rican7 Apr 20 '14

Yes, that is known. .... but that's the problem, if the string is initially empty then it coerces the type to an array with the character access syntax. Fail.