You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stdlib: proc_get_status() — must expose command argv array and running/exitcode fields (ext/standard/exec.c) #9311
proc_get_status() after proc_open() with an argv array command must report metadata matching Zend: command as the invoked path, pid > 0, running boolean, exitcode while running, etc. This compiler returns partial/inconsistent hashes compared to php-src; callers relying on command/exitcode break.
Workers need a focused parity slice on the VM VmProcess path before JIT lowering (#8889).
Root cause likely in ext/standard/VmProcess.php / proc_get_status.php: process handle metadata not marking child as running immediately after spawn, or premature reap.
Done when (expanded)
running === true while child has not exited (repro above)
After proc_close, a fresh proc_get_status is invalid/warns per Zend (or final status fetch shows running=false, exitcode=0)
Activity
PurHur commentedon Jun 19, 2026
Implementation-ready expansion — verified
runningdrift (2026-06-19)Docker probe with argv-array
proc_open:command'/bin/echo''/bin/echo'✓runningtruefalse❌pidkey presentRoot cause likely in
ext/standard/VmProcess.php/proc_get_status.php: process handle metadata not marking child as running immediately after spawn, or premature reap.Done when (expanded)
running === truewhile child has not exited (repro above)proc_close, a freshproc_get_statusis invalid/warns per Zend (or final status fetch showsrunning=false,exitcode=0)proc_open('echo hi', …)same shapetest/compliance/cases/stdlib/proc_get_status_argv.phptcommitted./script/ci-fast.sh --filter proc_get_statusgreenScope reminder
PHP-in-PHP: fix in
ext/standard/VmProcess.php— no newruntime/*.cprocess tables. JIT defer (#9408).Fix proc_get_status() command for argv-array proc_open (#9311). (#15527)
PurHur commentedon Jul 3, 2026
Merged via PR #15527.
Fix:
VmProcessProcOpenNative::openArgv()storesargv[0]asproc_get_status()['command'](wasimplode(' ', $argv)).Verification (2026-07-03):
Both print
ok/cmd-ok+running+has-pid. Issue repro now matches Zend (command='/bin/echo',running=true).