function create_application() { $app = new Application($env = 'dev', is_debug($env)); $app->loadClassCache(); return $app; }