Representing a variable
| From: | Ron Piggott | Date: | Sun, 26 Apr 2015 11:52:48 +0000 |
| Subject: | Representing a variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-324826@lists.php.net to get a copy of this message | ||
I am wondering how to correctly represent the variable $params['en-US_translation']
$value = 'en-US';
What I currently have is
$params[{$value . '_translation'}]
Thank you.
Ron