The pclose() function closes the process opened by popen().
On failure, the function returns FALSE.
pclose(pipe)
parameter | describe |
---|---|
pipe | Required. Specifies the process opened by popen(). |
<?php$file = popen("/bin/ls","r");//some code to be executedpclose($file);?>