11, // key = 6 (maximum of integer-indices was 5) '8' => 2, // key = 8 (integer!) '02' => 77, // key = '02' 0 => 12 // the value 10 will be overwritten by 12 ); 可見,同一個數(shù)組里面如果有相同的鍵名,則前面一個鍵名的值將會被覆蓋(overwritten)。
www.dbjr.com.cn/article/313...htm 2025-5-25