From 9d35fdf6792cac5b3c2b948bb58f195ced5a8565 Mon Sep 17 00:00:00 2001 From: Sherif Ramadan Date: Thu, 7 Aug 2014 20:31:09 +0000 Subject: [PATCH] Incorrect return value documented for set_time_limit. Documented as void, but the function has always returned a boolean true/false. See source code for reference http://lxr.php.net/xref/PHP_5_5/main/main.c#1280 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334526 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/info/functions/set-time-limit.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/info/functions/set-time-limit.xml b/reference/info/functions/set-time-limit.xml index 7d158b4941..7b0f514f55 100644 --- a/reference/info/functions/set-time-limit.xml +++ b/reference/info/functions/set-time-limit.xml @@ -9,7 +9,7 @@ &reftitle.description; - voidset_time_limit + boolset_time_limit intseconds @@ -47,7 +47,7 @@ &reftitle.returnvalues; - &return.void; + Returns &true; on success, or &false; on failure.