PHP Function Table / Implementation & Documentation

_ a b c d e f g h i j k l m n o p q r s t u v w x y z    alphabetical    by extension    about    statistics

function reset


Set the internal pointer of an array to its first element
in the current (CVS) version of PHP3, this function
is definend in php3/functions/basic_functions.c

in the current (CVS) version of PHP4, this function
is definend in php4/ext/standard/basic_functions.c
and implemented in php4/ext/standard/array.c

it is documented in array.xml

a japanese translation is available

there is a proto in latest PHP3 source:
mixed reset(array array_arg)
Set array argument's internal pointer to the first element and return it

there is a proto in latest PHP4 source:
mixed reset(array array_arg)
Set array argument's internal pointer to the first element and return it

PHP 3.0.*
01234567891
0
1
1
1
2
1
3
1
4
1
5
1
6
c
v
s
xxxxxxxxxxxxxxxxxx
 

 

PHP 4.0.*
0
b
1
0
b
2
0
b
4
0
R
C
1
0
R
C
2
0c
v
s
xxxxxxx


last update Die 23 Mai 2000 10:01:01 CEST

(c) 2000 Hartmut Holzgraefe