pathinfo
popen
파일시스템 함수 목록
PHP Manual

# pclose

(PHP 4, PHP 5)

pclose — Closes process file pointer

### 설명

int pclose ( resource `$handle` )

Closes a file pointer to a pipe opened by popen().

### 인수

`handle`

  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);
?>`

### 참고

- popen() - Opens process file pointer

pathinfo
popen
파일시스템 함수 목록
PHP Manual