private function requireOnce($path) { $requireOnce = function () { require_once func_get_arg(0); }; if (50400 <= PHP_VERSION_ID) { $requireOnce->bindTo(null); } $requireOnce($path); }