autoload vs include or require in php
问题 I am currently going through autoloading and l realize that autoloading may just be the same with require or include and I have come to the conclusion that perhaps there could be an advantage for using autoloading instead of require or include. What is the advantage of using autoload instead of require or include to use a class in a php file? 回答1: When you are working in a file, you might have to require in other files at the top in order to use their functionalities. Depending on the