I am learning PHP symfony Framework, when making forms, found that form forms are not too flexible, the official document is a lot of packaged functions, not very clear the internal principle. When I looked at the source code, I found that all the objects, around to not know how many objects, the head is dizzy, do not know what is going on. Do not know if there is a way to the code from the request to the end of the process of all executed code is printed, so that the source code to facilitate analysis
Reply content:
I am learning PHP symfony Framework, when making forms, found that form forms are not too flexible, the official document is a lot of packaged functions, not very clear the internal principle. When I looked at the source code, I found that all the objects, around to not know how many objects, the head is dizzy, do not know what is going on. Do not know if there is a way to the code from the request to the end of the process of all executed code is printed, so that the source code to facilitate analysis
Perform the following functions where you need to know
Debug_print_backtrace ()
For more detailed information, please see the official PHP manual.
Of course, it is recommended to use Xdebug to track the execution process, or to directly xdebug trace out the complete execution process
Xhprof, too.