Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Finds whether a variable is a resource
is_resource(mixed $value): bool
        ];



        
$process proc_open($command$descriptorspec$pipesnullnull, ['suppress_errors' => true]);

        if (! 
is_resource($process)) {

            return 
null;

        }