Home > Backend Development > PHP Tutorial > FirePHP: PHP version of firebug_PHP tutorial

FirePHP: PHP version of firebug_PHP tutorial

WBOY
Release: 2016-07-13 17:39:03
Original
1039 people have browsed it

I found this Firefox plug-in called FirePHP on friendfeed. It is an extension based on Firebug. It can be used to conveniently output PHP debugging information in the Firebug console without affecting the normal operation of the PHP program. In fact, this thing has been out for a long time, but I haven’t tried it before, but now it’s quite interesting to play with it for a while. Attached is a picture:

 

FirePHP: PHP version of firebug_PHP tutorial

FirePHP consists of two parts

Firefox extension

PHP library

FirePHP’s PHP debugging information is identified by adding the X-FirePHP-Data information string in the http header and will not be directly output to the page, thus avoiding any impact on the normal output of PHP. The types of debugging information that can be output are as follows:

Normal debugging string, the types include LOG, INFO, WARN, ERROR

Array array

object

Exception

SQL returns data

http header

If you are using firefox 3 like me, you can click here to download and install FirePHP 0.1.0.1

This version is only suitable for php5. I will post a simplified version made by netizens on their own, but the function is much weaker, and the debugging information is output through js, which is not very practical.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/486443.htmlTechArticleI found this Firefox plug-in called FirePHP on friendfeed. It is an extension based on Firebug and can be used Conveniently output PHP debugging information in the Firebug console without affecting...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template