Name

shell_exec

Synopsis

string shell_exec(string command)

Executes command via the shell and returns the last line of output from the command’s result. This function is called when you use the backtick operator ('').

Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.