diff --git a/reference/exec/functions/proc-get-status.xml b/reference/exec/functions/proc-get-status.xml index 1c4000ec1c3c..0ac5ab248893 100644 --- a/reference/exec/functions/proc-get-status.xml +++ b/reference/exec/functions/proc-get-status.xml @@ -90,8 +90,17 @@ The exit code returned by the process (which is only meaningful if running is &false;). - Only first call of this function return real value, next calls return - -1. + Prior to PHP 8.3.0, only the first call of this function returned the real + value, the following calls returned -1. + + + + cached + bool + + As of PHP 8.3.0, this is &true; when the exit code is cached. + Caching is necessary to make sure the exit code is not lost by + subsequent calls to process APIs. @@ -116,6 +125,31 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.3.0 + + The "cached" entry has been added to the returned + array. Prior to PHP 8.3.0, only the first call returned the real exit + code. The "cached" entry indicates that the exit code + was cached. + + + + + + + &reftitle.seealso;