Source Code:
(back to article)
<?php define('VARIABLE_NAME', 'some value'); if (defined('VARIABLE_NAME')) { echo "The constant is defined"; } else { echo "The constant is not defined"; }
Result:
Report an issue