[Solved] What does $settings[‘setting’] = “setting” Do? [closed]


This statement sets the value of the item in the array $settings identified by key setting to the string "setting".

You would use it like this:-

$settings['setting'] = "setting";

And if, for example, you wanted to echo the value you would do so like this :-

echo $settings['settings'];

10

solved What does $settings[‘setting’] = “setting” Do? [closed]