Keep consistency :
```php
 if (!isset($config[$p])) {
   /// exception
}
 $config = $config[$p];
```