Home  >  Article  >  Backend Development  >  The 8 most commonly used PHP debugging tools, 8 debugging tools_PHP tutorial

The 8 most commonly used PHP debugging tools, 8 debugging tools_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:23:101593browse

The 8 most commonly used PHP debugging tools, 8 debugging tools

Web development is not an easy task. There are many server-side scripting languages ​​​​available to developers, but currently PHP is becoming more and more popular because of its additional powerful features. PHP is one of the most powerful server-side scripting languages, and it is also the most commonly used language by web developers and designers.
PHP has a lot of tools, including testing and optimization tools, documentation tools, code editors, security tools, and also supports frameworks and online tools. That's why it attracted so many developers to use it in such a short period of time. Tools always help simplify and speed up the development process.

1) Pinba
Pinba is an open source MySQL storage engine. Its main task is to help web developers monitor the performance of all PHP scripts. Use MySQL as a read-only interface as a PHP real-time monitoring server.

2) PHP Dyn
PHP Dyn is an amazing extension that helps debug PHP scripts. Its main function is to track and execute scripts, and it is also an open source software provided to PHP developers.

3) Kint
Kint is another one of the best debugging tools for debugging PHP scripts. It is very easy to use, powerful, and can be customized at will by PHP web developers.

4) PHP MD
PHPMD can find errors in source code and easily fix them using a limited set of defined rules.

5) PHP Debug Bar
PHP Debug Bar is another great PHP debugging tool that can display pst data of web applications.

6) Whoops
Whoops is a more efficient PHP debugging library that helps developers build and maintain their projects to do better. Whoops is also an open source software with many outstanding features.

7) Xdebug
Xdebug is an extension provided to PHP users with many advanced features and different types of updates every moment.

8) Krumo
Krumo is an outstanding representative of PHP debugging tools, which can display the structure information of any PHP variable.

After appreciating these awesome PHP debugging tools, share your experience and let everyone speak freely!

php debugging tool

firePHP is the first choice for PHP programming “debugging”. Firephp, an accessory component of Firefox, depends on firebug, and the printed value is displayed in the firebug console. It has two common syntaxes, 1. Directly output fb($obj); 2. Track variable source fb($obj,TRACE); Installation instructions: 1. Install Firefox browser 2. Install firebug attachment component 3. Install firephp Attachment component 4. Download the PHP files of firephp (fb.php and FirePHP.class.php) 5. Introduce fb.php into the project, it will automatically introduce FirePHP.class.php, so just (require $dirToFirephp.'/ fb.php'; 6. Use 1. When you need to know the value of the variable $variable, add a line fb($variable); to the project. At this time, make sure your firebug is enabled, F12. You can quickly enable firebug. 7. Use 2. When you need to know the source of the variable $variable, add a line of fb($variable, TRACE); to the project. It will help you display the execution from the beginning of the project to the current line. Each associated row of
.

What is the best php code debugging tool

Use zend studio, a development tool. The IDE above is integrated, and it also provides many powerful plug-ins that can be installed. You can install plug-ins for any functions you want (svn, vsftp...), which I currently use. Very convenient, I recommend using this software;

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/840766.htmlTechArticleThe 8 most commonly used PHP debugging tools, 8 debugging tools Web development is not an easy task. Super multi-server scripting language is provided to developers, but currently PHP has additional...
Statement:
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