如何在cli模式下输入并测试 多行php代码
阿神
阿神 2017-04-10 14:25:23
0
1
444

如何在cli模式下输入并测试 多行php代码

阿神
阿神

闭关修行中......

Antworte allen(1)
黄舟

PHP的CLI版本有提供一个 interactive shell (php -a), 如果编译的时候带上了readline的话。

felix021@ubserver:~$ php -a
Interactive shell

php > echo "123";
123
php > print 1 + 2;
3
php > 
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage