There is no special function to remove FD from watch. When I closed stream added to be watch, my script hanged.
<?php newt_form_watch_fd($form, $old_fd, 0); ?> seems to be solution of this issue.
(PECL newt >= 0.1)
newt_form_watch_fd —
$form
, resource $stream
[, int $flags
] ) : voidBu işlev hala belgelendirilmemiştir; sadece değiştirge listesi mevcuttur.
form
stream
flags
Hiçbir değer dönmez.
There is no special function to remove FD from watch. When I closed stream added to be watch, my script hanged.
<?php newt_form_watch_fd($form, $old_fd, 0); ?> seems to be solution of this issue.