How a constant is defined in a PHP script?
How a constant is defined in a PHP script?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajkiran SwainPosted Jul 21, 2017, 1:12 PM
The define() directive lets us defining a constant as follows:
define (“ACONSTANT”, 123);