System Call¶
A system call is a call to an operating system function. In PHP, those are done with the shell_exec(), system() and exec() functions; and the `` (back tick) operators.
<?php
// list files
$list = shell_exec('ls -1');
?>
A system call is a call to an operating system function. In PHP, those are done with the shell_exec(), system() and exec() functions; and the `` (back tick) operators.
<?php
// list files
$list = shell_exec('ls -1');
?>
The definitive reference with all things PHP, and their definitions.
Contents: