define() function
: define a constant in php
the difference of constant and variable
: Don`t use "$" at the begin of name when define a constant;
: the content of constant must be string or num;
define(name,value,case_insensitive)
case_insensitive
: default:false, case sensitive
true : case insensitive
example:
define("GREETING","Hello world!");