How to assign single value to multiple linear keys?
For example, this is perfectly wrong:
Im getting the PHP Warning: Illegal offset type
For example, this is perfectly wrong:
PHP Code:
$array = array(
array(range(1, 5) => 'one'), // also: range(1, 5) => 'one',
6 => 'two',
7 => 'three',
);
Comment