php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72300 ignore_user_abort(false) has no effect
Submitted: 2016-05-31 07:54 UTC Modified: -
From: pimbroekhof at parse dot nl Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 7.0.7 OS: 4.5.0-1-ARCH GNU/Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 - 24 = ?
Subscribe to this entry?

 
 [2016-05-31 07:54 UTC] pimbroekhof at parse dot nl
Description:
------------
The following code produces an unexpected result in PHP 7.0.0+; ignore_user_abort is not disabled, even though we call ignore_user_abort(false).



Test script:
---------------
https://3v4l.org/GSNkc

Expected result:
----------------
int(0) 
int(0) 
string(0) ""

Actual result:
--------------
int(0) 
int(1) 
string(1) "1"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-05-31 14:24 UTC] laruence@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=f2a814df335fdfbb062681413ae5d47e5b593044
Log: Fixed bug #72300 (ignore_user_abort(false) has no effect)
 [2016-05-31 14:24 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2016-07-20 11:30 UTC] davey@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=f2a814df335fdfbb062681413ae5d47e5b593044
Log: Fixed bug #72300 (ignore_user_abort(false) has no effect)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 04:01:28 2024 UTC