2
我正在學習使用PHP交互式shell,但我遇到了多行代碼的問題。PHP交互式shell中的多行代碼
像UNIX shell中使用反斜槓似乎不起作用。我究竟做錯了什麼 ?
php > function test(){\
php { echo "test";\
php { }\
php > test();
PHP Parse error: syntax error, unexpected T_ECHO, expecting T_STRING in php shell code on line 2
該死的......那很愚蠢:)。謝謝 ! – Andrei 2010-06-15 23:20:39
感謝您的額外信息! – Andrei 2010-06-15 23:23:13