PHP pclose() 函數(shù)
PHP pclose() 函數(shù)

定義和用法
pclose() 函數(shù)關(guān)閉由 popen() 打開的進(jìn)程。
如果失敗,該函數(shù)返回 FALSE。
語法
pclose(pipe)
參數(shù) | 描述 |
---|---|
pipe | 必需。規(guī)定由 popen() 打開的進(jìn)程。 |
實例
<?php
$file = popen("/bin/ls","r");
//some code to be executed
pclose($file);
?>
$file = popen("/bin/ls","r");
//some code to be executed
pclose($file);
?>

相關(guān)文章
- PHP 運算符
- PHP Cookie
- PHP 過濾器
- PHP array_diff() 函數(shù)
- PHP array_fill_keys() 函數(shù)
- PHP array_intersect_uassoc() 函數(shù)
- PHP array_reduce() 函數(shù)
- PHP array_reverse() 函數(shù)
- PHP array_search() 函數(shù)
- PHP array_udiff_uassoc() 函數(shù)
- PHP array_uintersect() 函數(shù)
- PHP array_unshift() 函數(shù)
- PHP compact() 函數(shù)
- PHP key() 函數(shù)
- PHP natsort() 函數(shù)
- PHP sort() 函數(shù)
- PHP uasort() 函數(shù)
- PHP Libxml 函數(shù)
- PHP Mail 函數(shù)
- PHP 5 MySQLi 函數(shù)