Using PHP 'define' in Phalanger
Posted: May 23rd, 2014, 2:16 am
I need to define some constants in a Phalanger class. For example:
define("HEADER", TRUE)
When I compile the class, I get a compiler error along the lines of 'define is not recognized'.
What am I missing here?
Thanks!
define("HEADER", TRUE)
When I compile the class, I get a compiler error along the lines of 'define is not recognized'.
What am I missing here?
Thanks!