[PHP-DOC] cvs: phpdoc /en/reference/array/functions reset.xml

2005-11-27 Thread Horst Schirmeier
hsc Sun Nov 27 20:34:01 2005 EDT

  Modified files:  
/phpdoc/en/reference/array/functionsreset.xml 
  Log:
  reference to array function end added
  
http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/reset.xml?r1=1.13r2=1.14ty=u
Index: phpdoc/en/reference/array/functions/reset.xml
diff -u phpdoc/en/reference/array/functions/reset.xml:1.13 
phpdoc/en/reference/array/functions/reset.xml:1.14
--- phpdoc/en/reference/array/functions/reset.xml:1.13  Wed Nov 10 03:30:21 2004
+++ phpdoc/en/reference/array/functions/reset.xml   Sun Nov 27 20:33:59 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.13 $ --
+!-- $Revision: 1.14 $ --
 !-- splitted from ./en/functions/array.xml, last change in rev 1.2 --
   refentry id=function.reset
refnamediv
@@ -47,8 +47,8 @@
 /para
 para
  See also functioncurrent/function,
- functioneach/function, functionnext/function,
- and functionprev/function.
+ functioneach/function, functionend/function,
+ functionnext/function, and functionprev/function.
 /para
/refsect1
   /refentry


[PHP-DOC] cvs: phpdoc /en/reference/array/functions reset.xml

2004-10-28 Thread Sean Coates
seanThu Oct 28 10:35:44 2004 EDT

  Modified files:  
/phpdoc/en/reference/array/functionsreset.xml 
  Log:
  returns false if empty
  
http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/reset.xml?r1=1.11r2=1.12ty=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
  functionreset/function rewinds parameterarray/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


[PHP-DOC] cvs: phpdoc /en/reference/array/functions reset.xml

2004-01-03 Thread Marco Cucinato
cucinatoSat Jan  3 10:10:20 2004 EDT

  Modified files:  
/phpdoc/en/reference/array/functionsreset.xml 
  Log:
  Small typo
  
  
Index: phpdoc/en/reference/array/functions/reset.xml
diff -u phpdoc/en/reference/array/functions/reset.xml:1.9 
phpdoc/en/reference/array/functions/reset.xml:1.10
--- phpdoc/en/reference/array/functions/reset.xml:1.9   Thu Dec 18 12:43:30 2003
+++ phpdoc/en/reference/array/functions/reset.xml   Sat Jan  3 10:10:20 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.9 $ --
+!-- $Revision: 1.10 $ --
 !-- splitted from ./en/functions/array.xml, last change in rev 1.2 --
   refentry id=function.reset
refnamediv
@@ -29,7 +29,7 @@
 $array = array('step one', 'step two', 'step three', 'step four');
   
 // by default, the pointer is on the first element  
-echo current($array) . br /\n; // step one
+echo current($array) . br /\n; // step one
 
 // skip two steps
 next($array); 


[PHP-DOC] cvs: phpdoc /en/reference/array/functions reset.xml

2003-08-17 Thread Heilig (Cece) Szabolcs
ceceSun Aug 17 08:12:48 2003 EDT

  Modified files:  
/phpdoc/en/reference/array/functionsreset.xml 
  Log:
  added example
  
Index: phpdoc/en/reference/array/functions/reset.xml
diff -u phpdoc/en/reference/array/functions/reset.xml:1.5 
phpdoc/en/reference/array/functions/reset.xml:1.6
--- phpdoc/en/reference/array/functions/reset.xml:1.5   Mon Jun 16 08:03:39 2003
+++ phpdoc/en/reference/array/functions/reset.xml   Sun Aug 17 08:12:48 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/array.xml, last change in rev 1.2 --
   refentry id=function.reset
refnamediv
@@ -18,6 +18,32 @@
  functionreset/function rewinds parameterarray/parameter's
  internal pointer to the first element and returns the value of the first
  array element.
+/para
+para
+ example
+  titlefucntionreset/function example/title
+  programlisting role=php
+![CDATA[
+?php
+
+$array = array('step one', 'step two', 'step three', 'step four');
+  
+// by default, the pointer is on the first element  
+echo current($array).br\n; // step one
+
+// skip two steps
+next($array); 
+next($array);
+echo current($array).br\n; // step three
+  
+// reset pointer, start again on step one
+reset($array);
+echo current($array).br\n; // step one
+  
+?
+]]
+  /programlisting
+ /example
 /para
 para
  See also functioncurrent/function,



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/array/functions reset.xml

2003-08-17 Thread Heilig (Cece) Szabolcs
ceceSun Aug 17 08:16:16 2003 EDT

  Modified files:  
/phpdoc/en/reference/array/functionsreset.xml 
  Log:
  sorry, did not checked before committed :(
  
Index: phpdoc/en/reference/array/functions/reset.xml
diff -u phpdoc/en/reference/array/functions/reset.xml:1.6 
phpdoc/en/reference/array/functions/reset.xml:1.7
--- phpdoc/en/reference/array/functions/reset.xml:1.6   Sun Aug 17 08:12:48 2003
+++ phpdoc/en/reference/array/functions/reset.xml   Sun Aug 17 08:16:16 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 !-- splitted from ./en/functions/array.xml, last change in rev 1.2 --
   refentry id=function.reset
refnamediv
@@ -21,7 +21,7 @@
 /para
 para
  example
-  titlefucntionreset/function example/title
+  titlefunctionreset/function example/title
   programlisting role=php
 ![CDATA[
 ?php



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php