Open main menu
Changes
PHP Constants
1 byte added
,
14:45, 29 May 2007
→
Checking if a PHP Constant is Defined
define ('MY_CONSTANT', 36);
if (defined('MY_CONSTANT'
)
)
{
echo "Constant is defined";
← Older edit
Newer edit →
Neil
Bureaucrat
,
administrator
34,333
edits