Name

system

Synopsis

string system(string command[, int return])

Executes command via the shell and returns the last line of output from the command’s result. If return is specified, it is set to the return status of the command .

Get Programming PHP 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.