PHP constant() May 23, 2012 Pramod T P It returns the value of a constant Example <?php define(“LAN”,”phpcode”); echo constant(“LAN”); ?> Output phpcode