How does one output the class and method called when the php code is run?

Source: Internet
Author: User
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.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.