Doc #52610 [Opn->Csd]: filter_id: Incorrect return value

From: Date: Sun, 15 Aug 2010 07:06:17 +0000
Subject: Doc #52610 [Opn->Csd]: filter_id: Incorrect return value
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4857@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52610&edit=1 ID: 52610 Updated by: degeberg@php.net Reported by: bugs dot php at luden dot se Summary: filter_id: Incorrect return value -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: 5.3.3 -Assigned To: +Assigned To: degeberg Block user comment: N 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: ------------------------------------------------------------------------ [2010-08-15 09:05:35] degeberg@php.net Automatic comment from SVN on behalf of degeberg Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=302254 Log: Fixed PHP bug #52610 (filter_id: Incorrect return value) ------------------------------------------------------------------------ [2010-08-15 08:44:32] bugs dot php at luden dot se Description: ------------ <http://se.php.net/manual/en/function.filter-id.php> The documentation for filter_id() says: "Return Values ID of a filter on success or NULL if filter doesn't exist." The function returns FALSE. Test script: --------------- <?php var_dump (filter_id ('!')); Actual result: -------------- bool(false) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52610&edit=1

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