Doc #61784 [Opn->Csd]: Inconsistent return values documented for get_magic_quotes_gpc()

From: Date: Sun, 13 May 2012 03:15:57 +0000
Subject: Doc #61784 [Opn->Csd]: Inconsistent return values documented for get_magic_quotes_gpc()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8359@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61784&edit=1 ID: 61784 Updated by: stas@php.net Reported by: cf0hay at gmail dot com Summary: Inconsistent return values documented for get_magic_quotes_gpc() -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: stas Block user comment: N Private report: 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. The docs seem to be updated now. Previous Comments: ------------------------------------------------------------------------ [2012-04-20 09:19:25] cf0hay at gmail dot com Description: ------------ http://php.net/manual/en/function.get-magic-quotes-gpc.php On this page, the return values of this function are 0 or 1. But at the notes section, it talks about "TRUE". Also, http://www.php.net/manual/en/migration54.incompatible.php talks about get_magic_quotes_gpc() returning FALSE, php 5.4 is stable and out, but the online documentation doesn't reflect this change (from 0 to FALSE). I'm using 5.3 yet, I know it's actually returning 1 or 0. Dunno about 5.4 yet, if it's returning 0 or FALSE. I don't mind what does it return, just please keep the docs consistent with it. Thanks. Test script: --------------- N/A Expected result: ---------------- N/A Actual result: -------------- N/A ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61784&edit=1

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