app/Services/ServerCheckService.php
public function isFunctionDisabled(string $function): bool
    {
        $disable_functions = explode(',', ini_get('disable_functions'));
        $disable_functions = array_map(static function (string $func): string {
            return strtolower(trim($func));
        }, $disable_functions);

        $function = strtolower($function);

        return in_array($function, $disable_functions, true) || !function_exists($function);
    }
public function isFunctionDisabled(string $function): bool
    {
        $disable_functions = explode(',', ini_get('disable_functions'));
        $disable_functions = array_map(static function (string $func): string {
            return strtolower(trim($func));
        }, $disable_functions);

        $function = strtolower($function);

        return in_array($function, $disable_functions, true) || !function_exists($function);
    }
public function isFunctionDisabled ( string $ function ) : bool { $ disable_functions = explode ( ',' , ini_get ( 'disable_functions' ) ) ; $ disable_functions = array_map ( static function ( string $ func ) : string { return strtolower ( trim ( $ func ) ) ; } , $ disable_functions ) ; $ function = strtolower ( $ function ) ; return in_array ( $ function , $ disable_functions , true ) || ! function_exists ( $ function ) ; }
Check if a PHP function is in the list of disabled functions.

@param string $function

@return bool
Check if a PHP function is in the list of disabled functions .