From 098fcff39a18a4edffdb61dd17eec4264123dcab Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 3 May 2012 17:42:14 +0000 Subject: [PATCH] Document get_magic_quotes_* behaviour as of 5.4.0, which always returns false (instead of 0), which is due to our collective failure as a PHP team. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325516 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../info/functions/get-magic-quotes-gpc.xml | 30 +++++++++++++++++-- .../functions/get-magic-quotes-runtime.xml | 27 ++++++++++++++++- 2 files changed, 54 insertions(+), 3 deletions(-) diff --git a/reference/info/functions/get-magic-quotes-gpc.xml b/reference/info/functions/get-magic-quotes-gpc.xml index 053d7631ec..2903163d81 100644 --- a/reference/info/functions/get-magic-quotes-gpc.xml +++ b/reference/info/functions/get-magic-quotes-gpc.xml @@ -9,7 +9,7 @@ &reftitle.description; - intget_magic_quotes_gpc + boolget_magic_quotes_gpc @@ -30,6 +30,31 @@ &reftitle.returnvalues; Returns 0 if magic_quotes_gpc is off, 1 otherwise. + Or always returns &false; as of PHP 5.4.0. + + + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.4.0 + + Always returns &false; because the magic quotes feature was removed from PHP. + + + + + @@ -41,10 +66,11 @@ &reftitle.description; - intget_magic_quotes_runtime + boolget_magic_quotes_runtime @@ -22,9 +22,34 @@ &reftitle.returnvalues; Returns 0 if magic_quotes_runtime is off, 1 otherwise. + Or always returns &false; as of PHP 5.4.0. + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.4.0 + + Always returns &false; because the magic quotes feature was removed from PHP. + + + + + + + + &reftitle.examples;