Correct names for things!
| From: | Ray Leiter | Date: | Wed, 20 Aug 2014 21:16:44 +0000 |
| Subject: | Correct names for things! | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-19739@lists.php.net to get a copy of this message | ||
Are the terms "Numeric Array" and "Indexed Array" synonymous?
....for this example:
$a[0]="1"; $a[1]="1"; $a[2]="1";
OR, is it not technically correct to refer to this array as "Numeric"?
In other words, are arrays in PHP named based on how they are accessed or on the type of data they contain, or neither?
Thanks;
-- Ray