PHP defined() May 23, 2012 Pramod T P It checks whether a given named constant exists Example <?php echo defined(“LAN”)?LAN:”Not defined”; ?> Output Not defined