#47528 [Opn->Csd]: wrong example in ignore_user_abort()

From: Date: Sat, 28 Feb 2009 19:14:22 +0000
Subject: #47528 [Opn->Csd]: wrong example in ignore_user_abort()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1928@lists.php.net to get a copy of this message
ID: 47528 Updated by: kalle@php.net Reported By: kentaro at ranvis dot com -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: kalle New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2009-02-28 12:16:10] kentaro at ranvis dot com forgot to write the URL: http://www.php.net/manual/en/function.ignore-user-abort.php ------------------------------------------------------------------------ [2009-02-28 12:10:32] 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); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47528&edit=1

« previous php.doc.bugs (#1928) next »