php declare array of type code example
Example 1: php arrays
$nums = [1, 2, 3, 4, 5];
Example 2: php array
$array = ['cheese', 'ham', 'potato'];
var_dump($array);
$nums = [1, 2, 3, 4, 5];
$array = ['cheese', 'ham', 'potato'];
var_dump($array);