define(), define constants.
defined(), checks whether the constant is defined.
<?php define('NAME','pan'); echo defined('NAME'); ?>
Common system constants:
__FILE__
__LINE__
__TO YOU__
__FUNCTION__
PHP_VERSION
PHP_OS
define(), define constants.
defined(), checks whether the constant is defined.
<?php define('NAME','pan'); echo defined('NAME'); ?>
Common system constants:
__FILE__
__LINE__
__TO YOU__
__FUNCTION__
PHP_VERSION
PHP_OS