PHP array vs PHP Constant?

mjban

New Member
I am curious, is there any performance gain, like using less memory or resources in PHP for: 50 different setting variables saved into array like this\[code\]$config['facebook_api_secret'] = 'value here';\[/code\]Or 50 different setting variables saved into a Constant like this\[code\]define('facebook_api_secret', 'value here');\[/code\]
 
Back
Top