How to fill constant with array in PHP
Create a constant variable in PHP so easy, we can use keyword define, followed by name of constant and constant value, or we can adding once more argument (boolean true) to identified that is incase-sensitive, like this: 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.