Re: Correct names for things!

From: Date: Thu, 21 Aug 2014 17:40:37 +0000
Subject: Re: Correct names for things!
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19754@lists.php.net to get a copy of this message
On Wed, Aug 20, 2014 at 2:16 PM, Ray Leiter <ray.leiter@verizon.net> 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

« previous php.webmaster (#19754) next »