Constants

Example 1: The area of a circle with a radius of 5 units is 78.53981633975 square units.

Example 2: This PHP version is 8.3.14.



Constants in PHP are identifiers for values that remain fixed and unchanging during the execution of a script. They are defined using the define() function and are accessed using their names without a dollar sign.