public static function import()
    {
        if (count(func_get_args()) >= 2 && func_get_arg(1) !== null)
        {
            extract(func_get_arg(1));
        }

        if (count(func_get_args()) < 3 || func_get_arg(2) === true)
        {
            $exports = require func_get_arg(0);
        }
        else
        {
            $exports = include func_get_arg(0);
        }

        return $exports;
    }
public static function import()
    {
        if (count(func_get_args()) >= 2 && func_get_arg(1) !== null)
        {
            extract(func_get_arg(1));
        }

        if (count(func_get_args()) < 3 || func_get_arg(2) === true)
        {
            $exports = require func_get_arg(0);
        }
        else
        {
            $exports = include func_get_arg(0);
        }

        return $exports;
    }
public static function import ( ) { if ( count ( func_get_args ( ) ) >= 2 && func_get_arg ( 1 ) !== null ) { extract ( func_get_arg ( 1 ) ) ; } if ( count ( func_get_args ( ) ) < 3 || func_get_arg ( 2 ) === true ) { $ exports = require func_get_arg ( 0 ) ; } else { $ exports = include func_get_arg ( 0 ) ; } return $ exports ; }
Includes a file with an empty variable scope.

@param  string     $file    The path to the file to import.
@param  array|null $scope   A custom scope to give to the file.
@param  boolean    $require Whether to use require() or include().
@return mixed               Anything the file returns.
Includes a file with an empty variable scope .