首页> 外文期刊>WEB techniques >PHP Debugging with Class
【24h】

PHP Debugging with Class

机译:PHP类调试

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

It's hard to debug a CGI program. After all, you're not actually running it (unless your name is httpd). But when those bugs show up, a little creative thinking will help you overcome that limitation. Let's talk about a technique I've found to be very useful for debugging CGI programs written with the PHP scripting language. While the same basic idea could be applied to CGI programs written in other languages, the class extensions to PHP make the process a little more elegant, as well as easy to apply to many CGI scripts without a lot of extra work. (If you're not familiar with PHP, see the box titled "What Is PHP?")
机译:调试 CGI 程序很困难。毕竟,你实际上并没有运行它(除非你的名字是 httpd)。但是当这些错误出现时,一点创造性思维将帮助您克服这一限制。让我们来谈谈我发现的一种技术,它对于调试用PHP脚本语言编写的CGI程序非常有用。虽然相同的基本思想可以应用于用其他语言编写的 CGI 程序,但 PHP 的类扩展使该过程更加优雅,并且易于应用于许多 CGI 脚本,而无需大量额外的工作。(如果您不熟悉 PHP,请参阅标题为“什么是 PHP?

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号