Hello,
I have some constants I want to global them to a function.
example:
define ("BLAH", "testing", true);
function something () {
global BLAH;
print (BLAH);
}
something;
but I get syntax error, unexpected T_STRING, expecting T_VARIABLE or '$'
so how to pass them to a func without using func parameter?