Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Execute command via shell and return the complete output as a string
shell_exec(string $command): string|false|null
            return [11];

        }



        
$sttyMode shell_exec('stty -g');

        
shell_exec('stty -icanon -echo');



        @
fwrite($inputterminal()->getCsi() . '6n');
        }



        
$sttyMode shell_exec('stty -g');

        
shell_exec('stty -icanon -echo');



        @
fwrite($inputterminal()->getCsi() . '6n');
        $code trim(fread($input1024));



        
shell_exec(sprintf('stty %s'$sttyMode));



        
sscanf($codeterminal()->getCsi() . '%d;%dR'$row$col);