How to do that?
In PHP Programming there a feature in OOP, as known as with magic method, with this feature we can do a "magic" in PHP. For completed information about it you can click that link.
Keyword as Function.
define ('NAME', 'value of constant');
echo NAME; //output value of constant;
echo Name; //output value of constant with somes notice
define ('OK', 'its ok', true);
echo OK; // output its ok.
echo oK; //output its ok, there are no problem here.
| Image by Twitter |