in PHP by
Q:
How is a constant defined in a PHP script?

1 Answer

0 votes
by
The define() directive lets us defining a constant as follows:

define ("ACONSTANT", 123);

Related questions

0 votes
asked Jun 23, 2019 in PHP by SakshiSharma
0 votes
asked Jun 23, 2019 in PHP by SakshiSharma
0 votes
asked Jun 22, 2019 in PHP by SakshiSharma
...