An array called $computers with numeric and string keys : Associate Array « Data Structure « PHP
- PHP
- Data Structure
- Associate Array
An array called $computers with numeric and string keys
<?
$computers['t'] = 'A';
$computers[2] = 'B';
$computers['A'] = 'C';
?>
Related examples in the same category