Hi guys I have no idea if this is possible or if there is another way of doing it but any help would be appreciated. What I\'m trying to do is turn off arrays individually.
Encountered this problem, when was setting up PDO debug mode, that is dependent on config settings.
Examples above were great but a bit ambiguous, so I decided to write another, simple example of how to do it:
array(
'key' => $variable ? 'Sets certain value if $variable === true' : 'Sets certain value if $variable === false'
);