laravel-source-analysis
laravel-source-analysis copied to clipboard
composer StaticLoader 有什么优势
composer 在加载类 和 全局方法 时有两种方式
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
$useStaticLoader 为 true 则使用 静态方法,是因为静态方法有什么优势吗?