PHP pclose () function
Definisi dan Penggunaan
pclose () fungsi ditutup oleh popen () untuk membuka proses.
Jika gagal, fungsi mengembalikan SALAH.
tatabahasa
pclose(pipe)
参数 | 描述 |
---|---|
pipe | 必需。规定由 popen() 打开的进程。 |
contoh
<?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);
?>
Lengkapi manual PHP Filesystem Referensi