note 111932 added to function.register-shutdown-function
| From: | matteosistisette at gmail dot com | Date: | Sat, 13 Apr 2013 17:42:44 +0000 |
| Subject: | note 111932 added to function.register-shutdown-function | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194470@lists.php.net to get a copy of this message | ||
In PHP 5.1.6 things don't work as described here.
The truth is that connection_status() just always returns 0 whether or not the client has aborted
(e.g. the user hit the stop button), and that (consistently with this) the registered shutdown
function will only be called on exit, but NOT when the connection is aborted from the user.
That is, PHP does NOT detect when the connection is aborted.
----
Server IP: 69.147.83.199
Probable Submitter: 37.14.159.235
----
Manual Page -- http://php.net/manual/en/function.register-shutdown-function.php
Edit -- https://master.php.net/note/edit/111932
Del: integrated -- https://master.php.net/note/delete/111932/integrated
Del: useless -- https://master.php.net/note/delete/111932/useless
Del: bad code -- https://master.php.net/note/delete/111932/bad+code
Del: spam -- https://master.php.net/note/delete/111932/spam
Del: non-english -- https://master.php.net/note/delete/111932/non-english
Del: in docs -- https://master.php.net/note/delete/111932/in+docs
Del: other reasons-- https://master.php.net/note/delete/111932
Reject -- https://master.php.net/note/reject/111932
Search -- https://master.php.net/manage/user-notes.php