Xdebug Document (iii) stack trace, xdebug document Stack trace
When Xdebug is activated, PHP xdebug displays the stack trace information as soon as the notification, warning, or error is displayed. This stack of information can be configured to
Yesterday morning suddenly found that the test server space is full, with Du folder view, found that PHP debug log occupies a large area, some log directly have 1G, opened after the discovery of extremely many PHP stack trace.
Immediately to the
PHP. debugging tool. Trace
1. Use xdebug to generate trace records .. One is trace and the other is profile record.
2. xdebug trace file parser or xdebug trace ToolXdebug. trace_format 0 = readable. each column from left to right indicates the
Yesterday morning suddenly found that the test server space is full, with Du folder view, found that PHP debug log occupies a large area, some log directly have 1G, opened after the discovery of extremely many PHP stack trace.Immediately to the
Error_log: Send out an error message.
Error_reporting: Configure the level of error message return.
GETENV: Get the environment variable of the system
Get_cfg_var: Gets the configuration option value for PHP.
Get_current_user: Gets the name of the
PHP Tutorial Configuration Chinese Narration
Let's see what you see, php.ini.
[PHP]
;;;;;;;;;;;; WARNING;;;;;;;;;;;;; This is the default settings file for new PHP installations.; By default, PHP installs itself with a configuration suitable for;
Use the ltrace tool to trace the methods called by the PHP library functions.
This example describes how to use the ltrace tool to track function calls in the PHP library. We will share this with you for your reference. The details are as
ThinkPHP framework bootstrap analysis. This type of file is in: ThinkPHPLibraryThinkThink. class. the php class can be said to be the core class Library of the ThinkPHP framework. it is responsible for loading many configurations and registering the
Trace Memory leakage using process information. Trace Memory leakage using process Information Summary: memory leakage is a software problem that is frequently encountered by background server programs. There are many methods to locate memory
Web-side PHP code function coverage test solution, php coverage. Test Solution for functional coverage of PHP code on the Web end. php coverage rate 1. there are many levels of code coverage, such as row coverage, function method coverage, PHP code
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.