我有一个类似于这个帖子的问题:/application /controllers /models Default.php (class Myapp_Exception_Default extends Zend_Exception)throw new Myapp_Exception_Default();Fatal error: Class 'Myapp_Exception_Default' not found
/third_party/PhpWord/Autoloader.php";
\PhpOffice\PhpWord\Autoloader::register(); \\NOT SURE IF THISIn this case, you will have to register the autoloader.require_once 'path/to/PhpWord/src/PhpWord/Autoloader.php