How do I invoke a dup2() syscall from PHP ?
问题 There is an eio_dup2() function from Eio PECL extension but I am confused about all the async and event-loop stuff and I rather prefer to work with the standard syscall. Any insights ? 来源: https://stackoverflow.com/questions/28395018/how-do-i-invoke-a-dup2-syscall-from-php