note 124807 rejected from language.types.array by cmb
| From: | cmb@php.net | Date: | Mon, 09 Mar 2020 10:16:31 +0000 |
| Subject: | note 124807 rejected from language.types.array by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-214304@lists.php.net to get a copy of this message | ||
Note Submitter: roger at techfell dot com
----
$ArrayReference = array(
'Key'=>'Value',
'AnotherKey' => $AnyObject,
)
$NumIndexArray=array(
0=>'First in List',
1=>'Second in List',
2=>'Third in List'
);
$SimpleArray=array('First in List','Second in List','Third in List');
$SimpleArray==$NumIndexArray
echo $SimpleArray[1];
'Second in List'
echo['Key'];
'Value'