Current location - Training Enrollment Network - Books and materials - How to read a PHP source code
How to read a PHP source code
This answer is based on the fact that the program can already run. In this case, basically the PHP framework will have an entry file. If you want to know how the source code of this framework works and how the kernel of the kernel works, I personally suggest starting with the simplest domo of the framework, starting with the entry file, setting breakpoints there if you don't understand, and using Baidu's native functions if you don't understand, until this small domo can run through. This is almost what I read when I watched The Worker or Get carried away. However, I suggest that you use the framework as a function according to your own needs, and then read the source code slowly according to the function, which will be more efficient.