From 629d37532acaf3d6e57d25545e16ecc24459c59c Mon Sep 17 00:00:00 2001 From: vlakoff Date: Sat, 5 Apr 2014 09:52:01 +0200 Subject: Remove default parameter value of is_php() It was simply pointless. --- user_guide_src/source/changelog.rst | 1 + user_guide_src/source/general/common_functions.rst | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'user_guide_src') 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 `. - 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 ` 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.
-.. 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:: -- cgit v1.2.3-24-g4f1b