BrainPill Posted November 19, 2019 Share Posted November 19, 2019 what are case insensitive CONSTANTS ? I understand what case insensitive is, but not what or when a constant is used. my questions are: can programmers cast their own constants? if so: how? Does PHP have built-in constants ? where can I find a survey of php built in constants online? Link to comment Share on other sites More sharing options...
Ingolme Posted November 19, 2019 Share Posted November 19, 2019 I'm not sure where you heard about this. If I had some context I could understand your question better. Most likely it means that PHP constant names are case insensitive meaning that "constant" and "CONSTANT" point to the same place. You can create your own constants using the define() function. PHP has thousands of built in constants, you will have to search the manual on php.net. Here are a few of them: String constants Array constants Math constants cURL constants Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now