Req #55522 [Com]: Trigger a callback on user abort

From: Date: Fri, 12 Mar 2021 16:21:28 +0000
Subject: Req #55522 [Com]: Trigger a callback on user abort
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232679@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55522&edit=1 ID: 55522 Comment by: latestmodgame2021 at gmail dot com Reported by: nicolas dot grekas+php at gmail dot com Summary: Trigger a callback on user abort Status: Open Type: Feature/Change Request Package: Unknown/Other Function PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: <a href="https://apkmodinfo.com/"> Minecraft PE Apk Mod </a> All Latest Android Apk Mod Apps Games Full Version Free Download from here. Previous Comments: ------------------------------------------------------------------------ [2011-08-27 22:51:54] nicolas dot grekas+php at gmail dot com Description: ------------ When the user aborts its connection and ignore_user_abort() is set to false, the script dies, with no other way for use developers to gracefully handle the event. It would be very useful to have a way to register a callback which would be called on user abort. What about making ignore_user_abort() accept this callback as its first argument ? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55522&edit=1

« previous php.bugs (#232679) next »