有人知道我该如何替换\
吗\\
?
输入字符串:Télephone dsadad;'''´ ''''aa\
php> $in = "Télephone dsadad;'''´ ''''aa\";
... echo str_replace("\\","\\\\",$in);
Multiline input has no syntactic completion:
PHP Parse error: syntax error, unexpected T_NS_SEPARATOR in Command line code on line 2
谢谢