On Wed, Aug 20, 2014 at 2:16 PM, Ray Leiter <[email protected]> wrote:
> 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?


$a[0]="1"; $a[1]="1"; $a[2]="1"; unset($a[1]);

What would you call this array? Non-sequentally-indexed array? o.O

-Hannes

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to