chinmay.sahoo
New member
Array elements can be accessed by using the $arr[key] notation, where key is either an integer or string expression. When using a constant string for key, make sure you don’t forget the single or double quotes, such as $arr["key"]. This notation can be used for both reading array elements and modifying or creating new elements.