For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2004 > cvs: phpdoc /en/reference/array/functions reset.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/array/functions reset.xml
Sean Coates

2004-10-28, 3:58 pm

sean Thu Oct 28 10:35:44 2004 EDT

Modified files:
/phpdoc/en/reference/array/functions reset.xml
Log:
returns false if empty

http://cvs.php.net/diff.php/phpdoc/...11&r2=1.12&ty=u
Index: phpdoc/en/reference/array/functions/reset.xml
diff -u phpdoc/en/reference/array/functions/reset.xml:1.11 phpdoc/en/reference/array/functions/reset.xml:1.12
--- phpdoc/en/reference/array/functions/reset.xml:1.11 Tue Aug 3 11:51:08 2004
+++ phpdoc/en/reference/array/functions/reset.xml Thu Oct 28 10:35:44 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
<refentry id="function.reset">
<refnamediv>
@@ -17,7 +17,7 @@
<para>
<function>reset</function> rewinds <parameter>array</parameter>'s
internal pointer to the first element and returns the value of the first
- array element.
+ array element, or &false; if the array is empty.
</para>
<para>
<example>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com