我正在尝试定义一个数字数组,例如:
$days_pages = array(
'monday' => array(001, 002, 003, 004, 005, 006, 007, 008, 009, 010, 011, 012, 013, 014, 015, 016, 017, 018, 019, 020),
...
);
但是,当我执行以下操作:
print_r($days_pages);
它显示
Array
(
[monday] => Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
[4] => 5
[5] => 6
[6] => 7
[7] => 0 **************
[8] => 0 **************
[9] => 8
[10] => 9
[11] => 10
[12] => 11
[13] => 12
[14] => 13
[15] => 14
[16] => 15
[17] => 1 **************
[18] => 1 **************
[19] => 16
[20] => 17
我不明白为什么会出现这种情况 - 我做错了什么吗?