(PHP 4, PHP 5)
pclose — Closes process file pointer
The file pointer must be valid, and must have been returned by a successful call to popen().
Returns the termination status of the process that was run.
Example #1 pclose() example
<?php
$handle = popen('/bin/ls', 'r');
pclose($handle);
?>