Like Boolean values, integers, floating point numbers, and string data, these types are all scalar data. Constants in PHP can only store data types such as Boolean values, integers, floating point numbers, and string data. Note: In PHP, once a constant value is set, it cannot be changed elsewhere in the script. |