Wrong me in PHP, we use set_error_handler for processing, if an exception occurs, we use Set_exception_handler, but in debugging we can also use the
Debug_print_backtrace and Debug_backtrace Call stack information printing
Use of Set_error_handler
This article to share the content is the analysis of PHP error handling, automatic loading, stack heap memory and operating mode, has a certain reference value, the need for friends can refer to
Php Error Handling
Php Error Level :
E_error fatal
PHP prints the call stack information. an error occurs in PHP. We use set_error_handler for processing. if an exception occurs, use set_exception_handler. However, in debugging, we can also use
Debug_print_backtrace and debug_backtrace print 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;
This article mainly introduces about PHP in the Debug_backtrace () function printing call at the debugging information, has a certain reference value, now share to everyone, the need for friends can refer to
Debug_backtrace
(PHP 4 >= 4.3.0, PHP 5,
PHPXDebug configuration and installation methods. XDebug is a debugging tool for php. we can use echo, print, and so on to call errors. However, these functions cannot check the number of function executions and execution time, XDebug is a debugging
In order to own the PHP system in-depth mastery, I through personal experience, as well as search online expert experience, summed up a PHP self-learning route planning, including actual combat drills, learning suggestions, master Advanced, FAQs and
PHP Self-learning to advance the advanced route
In order to own the PHP system in-depth mastery, I through personal experience, as well as search online expert experience, summed up a PHP self-learning route planning, including actual combat drills,
In order to own the PHP system in-depth mastery, I through personal experience, as well as search online expert experience, summed up a PHP self-learning route planning, including actual combat drills, learning suggestions, master Advanced, FAQs and
Xdebug is a PHP debugging tool, we can use like echo,print and so on to invoke the error, but we have no way to check the function execution times and execution time, and the use of xdebug can be fully implemented Oh, let me introduce in Winodws PHP
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.