svn: /phpdoc/en/trunk/reference/info/functions/ set-time-limit.xml

From: Date: Thu, 07 Aug 2014 20:31:09 +0000
Subject: svn: /phpdoc/en/trunk/reference/info/functions/ set-time-limit.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12713@lists.php.net to get a copy of this message
googleguy Thu, 07 Aug 2014 20:31:09 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=334526 Log: 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 Bug: https://bugs.php.net/1280 (Closed) Error when doing OCIDefineByName with empty fields Changed paths: U phpdoc/en/trunk/reference/info/functions/set-time-limit.xml Modified: phpdoc/en/trunk/reference/info/functions/set-time-limit.xml =================================================================== --- phpdoc/en/trunk/reference/info/functions/set-time-limit.xml 2014-08-07 20:10:57 UTC (rev 334525) +++ phpdoc/en/trunk/reference/info/functions/set-time-limit.xml 2014-08-07 20:31:09 UTC (rev 334526) @@ -9,7 +9,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>void</type><methodname>set_time_limit</methodname> + <type>bool</type><methodname>set_time_limit</methodname> <methodparam><type>int</type><parameter>seconds</parameter></methodparam> </methodsynopsis> <para> @@ -47,7 +47,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.void; + Returns &true; on success, or &false; on failure. </para> </refsect1>

« previous php.doc.cvs (#12713) next »