php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70342 changing configuration with ignore_user_abort(true) isn't working
Submitted: 2015-08-24 12:44 UTC Modified: -
From: mihor dot cz at gmail dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 7.0.0RC1 OS: CentOS 6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mihor dot cz at gmail dot com
New email:
PHP Version: OS:

 

 [2015-08-24 12:44 UTC] mihor dot cz at gmail dot com
Description:
------------
If ignore_user_abort is by default 0.

And we are trying to change it with function:
ignore_user_abort(true); // no change is really done

but if we try:
ini_set('ignore_user_abort', true); // it works

Test script:
---------------
ignore_user_abort(true);
echo ignore_user_abort(); // gives 0

Expected result:
----------------
1

Actual result:
--------------
0

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-24 13:16 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=fd5e0dc3c6461572e852bf40d4f51c8bf19b30ea
Log: Fixed bug #70342 (changing configuration with ignore_user_abort(true) isn't working)
 [2015-08-24 13:16 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2015-09-03 18:10 UTC] ab@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=fd5e0dc3c6461572e852bf40d4f51c8bf19b30ea
Log: Fixed bug #70342 (changing configuration with ignore_user_abort(true) isn't working)
 [2016-07-20 11:36 UTC] davey@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=fd5e0dc3c6461572e852bf40d4f51c8bf19b30ea
Log: Fixed bug #70342 (changing configuration with ignore_user_abort(true) isn't working)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 08 12:01:26 2024 UTC