note 111932 deleted from function.register-shutdown-function by crell

From: Date: Thu, 31 Mar 2022 17:01:46 +0000
Subject: note 111932 deleted from function.register-shutdown-function by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-217852@lists.php.net to get a copy of this message
Note Submitter: matteosistisette at gmail dot com ---- 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.

« previous php.notes (#217852) next »