shell_exec Execute command via shell and return the complete output as a string &reftitle.description; stringshell_exec stringcmd This function is identical to the backtick operator. &reftitle.parameters; cmd The command that will be executed. &reftitle.returnvalues; The output from the executed command or &null; if an error occurred or the command produces no output. This function can return &null; both when an error occurs or the program produces no output. It is not possible to detect execution failures using this function. exec should be used when access to the program exit code is required. &reftitle.examples; A <function>shell_exec</function> example $output"; ?> ]]> &reftitle.notes; &sm.disabled; &reftitle.seealso; exec escapeshellcmd