Bug #70342 [Opn->Csd]: changing configuration with ignore_user_abort(true) isn't working
| From: | laruence@php.net | Date: | Mon, 24 Aug 2015 13:16:09 +0000 |
| Subject: | Bug #70342 [Opn->Csd]: changing configuration with ignore_user_abort(true) isn't working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195472@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70342&edit=1
ID: 70342
Updated by: laruence@php.net
Reported by: mihor dot cz at gmail dot com
Summary: changing configuration with ignore_user_abort(true)
isn't working
-Status: Open
+Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: CentOS 6
PHP Version: 7.0.0RC1
Block user comment: N
Private report: N
New Comment:
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)
Previous Comments:
------------------------------------------------------------------------
[2015-08-24 12:44:07] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70342&edit=1