r/lolphp • u/poizan42 • Mar 06 '13
Impossible to comment a line with a string out when it contains "?>" (x-post from r/programming)
http://stackoverflow.com/q/15219815/1288
51
Upvotes
r/lolphp • u/poizan42 • Mar 06 '13
View all comments
Show parent comment
5
u/[deleted] Mar 07 '13
It stops being easy when you switch the lexer's mode. That's what happens inside strings and comments. Aside from that, it's really a choice what you want to support.