php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #47528 wrong example in ignore_user_abort()
Submitted: 2009-02-28 12:10 UTC Modified: 2009-02-28 19:14 UTC
From: kentaro at ranvis dot com Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2009-02-28 12:10 UTC] kentaro at ranvis dot com
Description:
------------
The call in the example of ignore_user_abort() has no arguments
so it won't do anything but return the current value.
cf. ext/standard/basic_functions.c

the following lines

// Ignore user aborts and allow the script
// to run forever
ignore_user_abort();

should be

// Ignore user aborts and allow the script
// to run forever
ignore_user_abort(1);



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-28 12:16 UTC] kentaro at ranvis dot com
forgot to write the URL:
http://www.php.net/manual/en/function.ignore-user-abort.php
 [2009-02-28 19:14 UTC] kalle@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=4c156c81b647d0e6502c5ca876ef3d958996e943
Log: Fixed #47528 (wrong example in ignore_user_abort())
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 10:00:01 2026 UTC