note 114962 added to function.pos
| From: | viniciusatcodemakersdotcomdotbr | Date: | Tue, 06 May 2014 15:04:44 +0000 |
| Subject: | note 114962 added to function.pos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199426@lists.php.net to get a copy of this message | ||
<?php
$countries = array("Brazil", "England", "Japan", "France");
// Get the current position
echo pos($countries); // print Brazil
// Go to next position
echo next($countries); // print England
// Current position
echo pos($countries); // print England
// Previous position
echo prev($countries); // print Brazil
// End Position
echo end($countries); // print France
// Current position
echo pos($countries); // print France
----
Server IP: 216.194.115.244
Probable Submitter: 177.179.175.42
----
Manual Page -- http://php.net/manual/en/function.pos.php
Edit -- https://master.php.net/note/edit/114962
Del: integrated -- https://master.php.net/note/delete/114962/integrated
Del: useless -- https://master.php.net/note/delete/114962/useless
Del: bad code -- https://master.php.net/note/delete/114962/bad+code
Del: spam -- https://master.php.net/note/delete/114962/spam
Del: non-english -- https://master.php.net/note/delete/114962/non-english
Del: in docs -- https://master.php.net/note/delete/114962/in+docs
Del: other reasons-- https://master.php.net/note/delete/114962
Reject -- https://master.php.net/note/reject/114962
Search -- https://master.php.net/manage/user-notes.php