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
...