note 121894 added to function.pcntl-signal
| From: | RyanJentzsch@php.net | Date: | Tue, 21 Nov 2017 20:53:23 +0000 |
| Subject: | note 121894 added to function.pcntl-signal | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209188@lists.php.net to get a copy of this message | ||
If you are using PHP >= 7.1 then DO NOT use
declare(ticks=1) instead use
pcntl_async_signals(true)
There's no performance hit or overhead with pcntl_async_signals(). See this blog
post https://blog.pascal-martin.fr/post/php71-en-other-new-things.html
for a simple example of how to use this.
----
Server IP: 208.43.231.9
Probable Submitter: 209.33.217.66
----
Manual Page -- http://php.net/manual/en/function.pcntl-signal.php
Edit -- https://master.php.net/note/edit/121894
Del: integrated -- https://master.php.net/note/delete/121894/integrated
Del: useless -- https://master.php.net/note/delete/121894/useless
Del: bad code -- https://master.php.net/note/delete/121894/bad+code
Del: spam -- https://master.php.net/note/delete/121894/spam
Del: non-english -- https://master.php.net/note/delete/121894/non-english
Del: in docs -- https://master.php.net/note/delete/121894/in+docs
Del: other reasons-- https://master.php.net/note/delete/121894
Reject -- https://master.php.net/note/reject/121894
Search -- https://master.php.net/manage/user-notes.php