Re: Variable variable using constant
| From: | Marc Guay | Date: | Wed, 12 Oct 2011 19:01:01 +0000 |
| Subject: | Re: Variable variable using constant | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315254@lists.php.net to get a copy of this message | ||
> $var = constant('DESKTOP_URL_' . $_SESSION['lang']);
Very nice, thank you.
Marc