0 votes
in PHP by
What are the ways to define a constant in PHP?

1 Answer

0 votes
by
PHP constants are name or identifier that can't be changed during execution of the script. PHP constants are defined in two ways:

Using define() function

Using const() function

Related questions

0 votes
asked Jun 6, 2020 in PHP by SakshiSharma
0 votes
asked Jun 5, 2020 in PHP by Robindeniel
...