#47528 [Com]: wrong example in ignore_user_abort()

From: Date: Sat, 28 Feb 2009 12:16:11 +0000
Subject: #47528 [Com]: wrong example in ignore_user_abort()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1926@lists.php.net to get a copy of this message
ID: 47528 Comment by: kentaro at ranvis dot com Reported By: kentaro at ranvis dot com Status: Open Bug Type: Documentation problem PHP Version: Irrelevant New Comment: forgot to write the URL: http://www.php.net/manual/en/function.ignore-user-abort.php Previous Comments: ------------------------------------------------------------------------ [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 (#1926) next »