In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you which of the 12 debugging tools for PHP developers are concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the details of this article.
PHP is the most widely used scripting language in practice; it contains many features such as detailed documentation, a large community, countless scripts that can be used, and supporting frameworks. These features provided by PHP make it easier to use than scripting languages such as Python or Ruby.
I have collected 12 PHP debugging tools from developers that will help developers easily find and debug errors in applications and scripts. The following PHP debugging tool supports Ajax requests and includes a general data collector and stack-based error handlers. I hope you will appreciate the convenience and usefulness of this list in future projects.
1. Kint
Var_dump (), print_r (), and debug_backtrace () are our most commonly used tools when debugging PHP code. Kint, an open source software, a replacement that does not need to be installed, provides a better debugging experience. It cleverly detects almost unreadable data and customizes them to regular output display. It prompts for variable names, files, line numbers, and wrapper functions.
Source code
2. DebugBar
DebugBar is free and open source software that can be integrated into any PHP project to collect and locate data. It has no third-party dependencies, supports Ajax requests, includes generic data collectors, and integrates common libraries. The generated bar is 100% JavaScript implemented and placed at the bottom of the page (like a development tool). New collectors and views can be easily added, and previous requests can be saved or rerun.
Source code
3. Pinba
Pinba is an open source MySQL storage engine that can be used as a PHP statistics service. It uses the received data to analyze the performance of PHP applications and quickly locate any problems.
Source code
4. PHPMD
PHPMD is a front end that is easy to configure and friendly to PHP raw dependency metrics. It looks for a variety of potential problems in your code, including possible bug, inappropriate code, unused parameters, and so on.
Source code
5. Xde Bug
Xdebug is a free and open source PHP extension for debugging and analyzing the details of PHP scripts. Because it is an extension, it is easy to use and requires very few settings on the coding side. It provides all the data of the stack trace and function trace in the error message, including all parameters, function names, file names, and line flags of the user-defined function. Xdebug can also provide data for memory allocation, analysis information, and code coverage analysis.
Source code
6. Whoops
Whoops is a PHP library that makes error handling and debugging easier. This library provides stack-based error handling and has a nice interface. It has a simple API that handles exceptions, can track frames and their data, and can be integrated with any framework (end and Silex have built-in integration).
Source code
7. Krumo
Many PHP developers use print_r () and var_dump () to debug output results that are difficult to read or unformatted. Krumo is an alternative to these functions, which can display structured information about any PHP variable. After Krumo runs, the output appears as a collapsible DHTML tree structure around the PHP variable. At the same time, it speeds up debugging by its own ability to "turn off" the debugging process instead of disabling all traceability paths in the code.
Source code
8. Php Debugger
Debugging is the process of finding and fixing bug. PHP Debugger is a tool that helps you quickly find errors and remove them from your PHP program. You can set up remote debugging in PHPEd and enable it through the PHP debugging settings in the Wizardand DBG wizard.
Source code
9. Php Debug
The basic purpose of PHP_Debug is to provide assistance when debugging PHP code.
Source code
10. Webgrind
Xdebug is one of the PHP debugging extensions of * *. It provides a lot of useful data to help you find bug in the source code.
Source code
11. PHP_Dyn
PHP_Dyn is an excellent open source PHP debugging tool. You can track the execution of the function and get an output of the function parameters and return values.
Source code
12. MacGDBp
MacGDBp is a PHP debugger on MAC OS. It has all the features you expect, and it is a full-featured debugger that includes functions such as running sentence by sentence and setting breakpoints.
What are the above 12 debugging tools for PHP developers? have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.