constant from variable

From: Date: Fri, 04 Jun 2010 19:07:56 +0000
Subject: constant from variable
Groups: php.general 
Request: Send a blank email to php-general+get-305830@lists.php.net to get a copy of this message
Hi, define('MYCONST', 'something'); $my = 'my'; $const = 'const'; is it possible to get the value of MYCONST using variables $my and $const_ Br Tanel

« previous php.general (#305830) next »