PHP Constant Arrays
In PHP 5.6, constant arrays can only be defined via const; in PHP 7, they can be defined via define().
Example
The output of the above program is:
Runoob
In PHP 5.6, constant arrays can only be defined via const; in PHP 7, they can be defined via define().
The output of the above program is:
Runoob