在linux命令行中直接执行php命令

有时候用浏览器调试太麻烦,想在linux命令下直接执行php代码

php -r 'echo 0500;'

 

posted @ 2015-01-20 14:59  KoMiles  阅读(887)  评论(0)    收藏  举报