summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/general/common_functions.rst
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-12-14 14:15:03 +0100
committerAndrey Andreev <narf@devilix.net>2016-12-14 14:15:03 +0100
commit26313bddee1fb67af10141671a47bbe703a025fd (patch)
treeafbb330b4761c331cfbaa4ccf1a31f15af1198d1 /user_guide_src/source/general/common_functions.rst
parent88303fd3af7e1347fb2ceeb80a4a898980f98677 (diff)
[ci skip] More doc changes related to PHP 5.4.8 requirement
Diffstat (limited to 'user_guide_src/source/general/common_functions.rst')
-rw-r--r--user_guide_src/source/general/common_functions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide_src/source/general/common_functions.rst b/user_guide_src/source/general/common_functions.rst
index 6d6744cf7..602a6c763 100644
--- a/user_guide_src/source/general/common_functions.rst
+++ b/user_guide_src/source/general/common_functions.rst
@@ -24,9 +24,9 @@ loading any libraries or helpers.
Example::
- if (is_php('5.3'))
+ if (is_php('5.5'))
{
- $str = quoted_printable_encode($str);
+ echo json_last_error_msg();
}
Returns boolean TRUE if the installed version of PHP is equal to or
@@ -185,4 +185,4 @@ loading any libraries or helpers.
.. note:: This function was introduced because Suhosin terminated
script execution, but this turned out to be a bug. A fix
has been available for some time (version 0.9.34), but is
- unfortunately not released yet. \ No newline at end of file
+ unfortunately not released yet.