summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2014-04-05 09:52:01 +0200
committervlakoff <vlakoff@gmail.com>2014-04-05 13:21:47 +0200
commit629d37532acaf3d6e57d25545e16ecc24459c59c (patch)
treedf5c8a3ed9607485bedada0311e34c711a741f6a /user_guide_src/source
parent8e814ee16f2569619627d2c3e22433d7391f011c (diff)
Remove default parameter value of is_php()
It was simply pointless.
Diffstat (limited to 'user_guide_src/source')
-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::