int pclose ( resource $handle )
Closes a file pointer to a pipe opened by popen().
Returns the termination status of the process that was run. In case of an error then -1 is returned.