php access array value does not work code example Example: php array $array = ['cheese', 'ham', 'potato']; var_dump($array);