Welcome to Findnerd. We all knows and have used the define function in PHP but it is improved little bit. Now we can assign the array to the constant using define
function. Please have a look.
define('TAX_RANGE',[9.25,10.25]);
In above example we created a constant named TAX_RANGE in array form. we can use it as in your code;
0 Comment(s)