例如:
$array = []; echo $array['bar']; // PHP NOTICE - trying to access not existing key` $array['bar'][] = 'foo'; // Nothing
我知道它创建了带有索引'bar'的数组,但PHP如何在内部处理?
php arrays
arrays ×1
php ×1