See the documentation of [spl_autoload_register](http://us.php.net/manual/en/function.spl-autoload-register.php) for a description of these parameters.
<h2>Final Words</h2>
This post is using PHPExcel external library as an example, but this procedure should be taken into account when we encounter a problem like this. Whenever you find a library that you wish to include in your Yii application, check out its autoloading functions first.