note 82254 deleted from function.proc-close by danbrown

From: Date: Tue, 17 May 2011 14:01:33 +0000
Subject: note 82254 deleted from function.proc-close by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179814@lists.php.net to get a copy of this message
Note Submitter: noname at bspamfree dot org ---- According to the discussion associated with bug #17538, the "termination status" as returned by this function is not the same thing as the exit code ($? in BASH). To extract the exit code from the termination status, something like this is needed: $exitcode = (proc_close($proc) >> 8) & 0xff;

« previous php.notes (#179814) next »