dtrpv60860 2010-05-25 20:01
浏览 30
已采纳

用于PHP的Rails控制台?

Every so often, things work in my local PHP development environment, while in my test environment on my server, things do not. It's a nightmare to debug this. If I had a console like Rails provides, debugging would be much much simpler.

Is there anything like the Rails console but for PHP?

I should mention that I am using a home-brewn PHP application.

  • 写回答

4条回答 默认 最新

  • duan0427 2010-05-25 22:18
    关注

    PHP has a basic interactive shell available by running php -a. It doesn't have the bells and whistles of a framework-based console though.

    More info can be found in the docs: http://docs.php.net/commandline.interactive

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?