note 69896 added to ref.array
| From: | JustinRovang at osu1 dot php dot net | Date: | Mon, 25 Sep 2006 16:48:21 +0000 |
| Subject: | note 69896 added to ref.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117643@lists.php.net to get a copy of this message | ||
If you're looking for a good way to turn the alphabet into an array, this seems to be the
quickest method:
<?
$alphabet = array("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");
$alphabet = explode(" ", $alphabet);
echo $alphabet[0]; //output: a
?>
----
Server IP: 64.71.164.2
Probable Submitter: 134.29.228.188
----
Manual Page -- http://www.php.net/manual/en/ref.array.php
Edit -- https://master.php.net/note/edit/69896
Del: integrated -- https://master.php.net/note/delete/69896/integrated
Del: useless -- https://master.php.net/note/delete/69896/useless
Del: bad code -- https://master.php.net/note/delete/69896/bad+code
Del: spam -- https://master.php.net/note/delete/69896/spam
Del: non-english -- https://master.php.net/note/delete/69896/non-english
Del: in docs -- https://master.php.net/note/delete/69896/in+docs
Del: other reasons-- https://master.php.net/note/delete/69896
Reject -- https://master.php.net/note/reject/69896
Search -- https://master.php.net/manage/user-notes.php