How this associative array example works
Associative arrays use string keys. Read and write values with $array["key"], delete them with unset(), and check for a key with array_key_exists() or isset() (which also returns false when the value is null).