spl_autoload_register(function ($class) {
require $class.'.php';
});
require 'autoloader.php';
use admin\controller\Demo1;
use admin\controller\Demo2;
use admin\controller\Demo3;
echo Demo1::index(). '<br>';
echo Demo2::index(). '<br>';
echo Demo3::index(). '<br>';