Predefined Constants

Each class describes its own constants.

Коментарии

PHP user-defined constant can be like this:

define('APP',
[
  'name'=>'Sadish',
  'hobby'=>'Coding',
   'occupation'=>'student'
]);

Here, APP is the user-defined constant which is defined using define() function available in PHP. 

Also, Simply anything, like this :
  define('APP','Demo PHP');
 is a user-defined constant, which basically replaces any code available in PHP named as APP with the value 'Demo PHP'.
2018-03-27 14:35:01
http://php5.kiev.ua/manual/ru/reflection.constants.html

    Поддержать сайт на родительском проекте КГБ