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条)

报告相同问题?

悬赏问题

  • ¥100 需求高精度PT100设计电路和算法
  • ¥15 单片机配网,继电器开关,广播
  • ¥60 Qcustomplot绘制实时动态曲线
  • ¥20 运用matlab画x-y图
  • ¥15 用idea运行项目,运行tomcat报错:断言失败
  • ¥15 Sqlserver查询链接服务器数据问题
  • ¥15 Bibtex4Word 引用中文文献
  • ¥20 用opencv c/c++ 转换成灰度图,然后做一下直方图均衡,输出mp4文件
  • ¥20 matlab中的双层数值积分
  • ¥50 服务器打印水晶报表问题