โ‰ˆ the.bay.news

Passing STDOUT to proc_open() can overwrite your log

DEV Community
Passing STDOUT to proc_open() can overwrite your log
PHP's proc_open() rewinds a redirected stdout file when you pass STDOUT or STDERR as a descriptor. A short repro, the one-line fix and a test that catches it.

0 comments

Sign in to join the discussion โ€” your thebay.events account works here.

No comments yet.