qiuq@cv0041190n0 MINGW64 /d/phpStudy/WWW/d82 (master)
$ php -r "echo '\';"
PHP Parse error: syntax error, unexpected ''\';' (T_ENCAPSED_AND_WHITESPACE) in
Command line code on line 1
Parse error: syntax error, unexpected ''\';' (T_ENCAPSED_AND_WHITESPACE) in Comm
and line code on line 1
qiuq@cv0041190n0 MINGW64 /d/phpStudy/WWW/d82 (master)
$ php -r 'echo "\";'
PHP Parse error: syntax error, unexpected end of file, expecting variable (T_VA
RIABLE) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in Command line
code on line 1
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABL
E) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in Command line code
on line 1
转载于:https://www.cnblogs.com/qinqiu/p/7207029.html