note 123746 added to function.pcntl-errno

From: Date: Sat, 06 Apr 2019 04:43:37 +0000
Subject: note 123746 added to function.pcntl-errno
Groups: php.notes 
Request: Send a blank email to php-notes+get-210530@lists.php.net to get a copy of this message
<explain> This example installs an alarm signal, but the callback function does not exist,This will set the last error. Then we will print out the last error. <?php set_error_handler(function(){}); pcntl_signal(SIGALRM,'sig_handler',false); print 'Your error returned was (Code):'.pcntl_get_last_error().PHP_EOL; print 'Your error info:'.pcntl_strerror(pcntl_get_last_error()).PHP_EOL; ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.142 (proxied: 104.199.167.217) ---- Manual Page -- http://php.net/manual/en/function.pcntl-errno.php Edit -- https://master.php.net/note/edit/123746 Del: integrated -- https://master.php.net/note/delete/123746/integrated Del: useless -- https://master.php.net/note/delete/123746/useless Del: bad code -- https://master.php.net/note/delete/123746/bad+code Del: spam -- https://master.php.net/note/delete/123746/spam Del: non-english -- https://master.php.net/note/delete/123746/non-english Del: in docs -- https://master.php.net/note/delete/123746/in+docs Del: other reasons-- https://master.php.net/note/delete/123746 Reject -- https://master.php.net/note/reject/123746 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#210530) next »