A Php program to print the constant with case sensitive. Using this program we print the constant with case sensitive letters in php. A constant is a term that identifies a single value. During the script, the value cannot be altered. A valid constant name begins with a letter or underscore and does not include the $ sign.
define("information", "Welcome to inlarn.com");
Welcome to inlarn.com
What is case sensitive in php
Variable and constant names in PHP are case sensitive, although function names aren’t. PHP is the only language that I am aware of that does this. All of the other languages I’ve tried are either case insensitive or case sensitive. Although class and function/method names are case-insensitive in PHP, it is best practise to use them exactly as they appear in their declaration.