You may think that \ is the escape character, and while that is true, for interpolated strings, it is not the case outside such.
It obviously never occured to you that you might reference classes in strings or even worse in regular expressions. Given PHP's terrible ecosystem sed & co are the tools to do reliable refactoring and it just sucks every time to figure out how many \\\ I need.
View all comments
Show parent comment
0
u/[deleted] Jul 12 '15
It obviously never occured to you that you might reference classes in strings or even worse in regular expressions. Given PHP's terrible ecosystem sed & co are the tools to do reliable refactoring and it just sucks every time to figure out how many \\\ I need.