note 117225 added to function.posix-kill

From: Date: Tue, 05 May 2015 17:34:36 +0000
Subject: note 117225 added to function.posix-kill
Groups: php.notes 
Request: Send a blank email to php-notes+get-202446@lists.php.net to get a copy of this message
Warning! The $sig parameter cannot be one of the PCNTL signals constants if you are running your script from the browser (ie. as an apache process). Strangely it does seem to allow the constants to be used from the command line ("php -r ...") but if your script is running from within apache then calling posix_kill($pid, SIGINT) will return FALSE (and posix_get_last_error() will return 0). ---- Server IP: 72.52.91.14 Probable Submitter: 80.42.127.132 ---- Manual Page -- http://php.net/manual/en/function.posix-kill.php Edit -- https://master.php.net/note/edit/117225 Del: integrated -- https://master.php.net/note/delete/117225/integrated Del: useless -- https://master.php.net/note/delete/117225/useless Del: bad code -- https://master.php.net/note/delete/117225/bad+code Del: spam -- https://master.php.net/note/delete/117225/spam Del: non-english -- https://master.php.net/note/delete/117225/non-english Del: in docs -- https://master.php.net/note/delete/117225/in+docs Del: other reasons-- https://master.php.net/note/delete/117225 Reject -- https://master.php.net/note/reject/117225 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#202446) next »