Why doesn't PHP's Autoload feature work in CLI mode?
问题 This is more for my own personal edification than anything else but, this is something that has always bothered me: Why specifically can't PHP perform "autoloading" while in CLI mode? I've been reading this disclaimer for years, but I've never read anything that touches on why: http://php.net/manual/en/language.oop5.autoload.php: Note: Autoloading is not available if using PHP in CLI interactive mode. Does anyone know what is preventing PHP, as a language, from autoloading while working in