Mega Code Archive

 
Categories / Php / Math
 

Constants, like the names of variables, are case-sensitivebut unlike variables

They do not start with a dollar sign.  You can change this behavior by passing true as a third parameter to define( ), which makes the constant case-insensitive: <?     define("SecondsPerDay", 86400, true);     print SecondsPerDay;     print SECONDSperDAY; ?>