How does one output the class and method called when the php code is run? For example, the classes and methods used from the entry file to the end of an operation. 1. it refers to the classes, methods, and methods used during the running of an entry file. Is there any way or function to obtain this information? 2. because some packages are too big and there are too many branches, it is difficult to analyze and take that step. if this information can be obtained, the code process can be quickly analyzed? Thank you! you are a newbie! So how can I find a class and find a method to output the class and method called during php code running?
For example, the classes and methods used from the entry file to the end of an operation.
1. it refers to the classes, methods, and methods used during the running of an entry file. Is there any way or function to obtain this information?
2. because some packages are too big and there are too many branches, it is difficult to analyze and take that step. if this information can be obtained, the code process can be quickly analyzed?
Thank you! you are a newbie! So it's a little slow to look for classes and methods. I 'd like to ask such methods.
------ Solution --------------------
What framework is used by the landlord .. CI is configured ..
Config/config. php
$ Config ['log _ threshold '] = 2;
All debugging information is displayed.