$array = [ -42 => 'Foo', ]; $array[] = 'Bar';. Prior to PHP 8.0, the array is incremented to key 0 , because the last key is a negative number.
確定! 回上一頁