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 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;
For php exceptions, you can get the error stack through getTraceAsString.The error should be as follows: The code is as follows:Copy code Function x ()$ X = debug_backtrace ();// Remove stack of this functionArray_shift ($ x );$ I = 0;$ Xstr = ''
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
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
Xdebug is an open source PHP program debugger (a debug tool) that can be used to track, debug, and analyze the health of PHP programs. is a C language Extension pack (under Windows with a. dll
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
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
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.