summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-04-06 17:02:23 +0200
committerAndrey Andreev <narf@devilix.net>2014-04-06 17:02:23 +0200
commitb8bec1bf7407ebaee1c2b8bc1bddebe340e0346d (patch)
treedf5c8a3ed9607485bedada0311e34c711a741f6a /user_guide_src
parent8e814ee16f2569619627d2c3e22433d7391f011c (diff)
parent629d37532acaf3d6e57d25545e16ecc24459c59c (diff)
Merge pull request #2993 from vlakoff/is_php
Remove default parameter of is_php()
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/changelog.rst1
-rw-r--r--user_guide_src/source/general/common_functions.rst4
2 files changed, 3 insertions, 2 deletions
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst
index 9795c3b9d..9d3ceb08e 100644
--- a/user_guide_src/source/changelog.rst
+++ b/user_guide_src/source/changelog.rst
@@ -480,6 +480,7 @@ Release Date: Not Released
- Added function :func:`function_usable()` to work around a bug in `Suhosin <http://www.hardened-php.net/suhosin/>`.
- Removed the third (`$php_error`) argument from function :func:`log_message()`.
- Changed internal function ``load_class()`` to accept a constructor parameter instead of (previously unused) class name prefix.
+ - Removed default parameter value of :func:`is_php()`.
- :doc:`Output Library <libraries/output>` changes include:
diff --git a/user_guide_src/source/general/common_functions.rst b/user_guide_src/source/general/common_functions.rst
index 2ca7478ec..9c0a7cbe1 100644
--- a/user_guide_src/source/general/common_functions.rst
+++ b/user_guide_src/source/general/common_functions.rst
@@ -13,13 +13,13 @@ loading any libraries or helpers.
<div class="custom-index container"></div>
-.. function:: is_php([$version = '5.3.0'])
+.. function:: is_php($version)
:param string $version: Version number
:returns: TRUE if the running PHP version is at least the one specified or FALSE if not
:rtype: bool
- Determines of the PHP version being used is greater than the
+ Determines if the PHP version being used is greater than the
supplied version number.
Example::