I have defined a Constant,
define("TEST", "good");
now I have $post = "TEST";
I just wanted to convert this "test" as an constant.
e.g: echo $post;
it should print good
echo constant($post);
http://php.net/constant
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With