note 8921 modified in function.end by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 21:53:44 +0000 |
| Subject: | note 8921 modified in function.end by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25497@lists.php.net to get a copy of this message | ||
<?
$matriz = array("uno","dos","tres","cuatro");
end($matriz);
each($matriz);
?>
/*
retornaria:
0 => 3
1 => 'cuatro'
key => 3
value => 'cuatro'
*/
--was--
<?
$matriz = array("uno","dos","tres","cuatro");
end($matriz);
each($matriz);
?>
/*
retornaria:
0 => 3
1 => 'cuatro'
key => 3
value => 'cuatro'
*/
http://www.php.net/manual/en/function.end.php