>php does not have multi-threading, synchronization and other complex concepts, mostly composed of functions and classes, data types and syntax is relatively simple, using its rich built-in functions to achieve most of the functional testing, but sometimes also need to compare professional debugging methods and tools to quickly catch the exception. (1) The Debug function in practice, in addition to the application of Echo, die, var_dump output the current variable value, but also need to output some additional information, such as the current code is located in the function name. Let's take a look at three functions for debugging: **func_num_args () * * This function returns the number of arguments for the current function returned by the number **func_get_arg () * * function returns the value of the parameter at the specified position **func_get_args () * * This function returns an array containing all the parameters of the current function **php_eol PHP can use Php_eol instead of line breaks to improve the code-level portability of codes like usual and directory_separator can use functions Get_defined_ Constants () to get all PHP constants "