Showing articles with Constant. Show all articles
How to print the method name with the associated class name using magic constant __METHOD__ in PHP | PHP programs
How to print the class name using magic constant __CLASS__ in PHP | PHP programs
How to print the function name using magic constant __FUNCTION__ in PHP | PHP programs
How to print the line number using __LINE__ magic constant in PHP | PHP programs
How to check a constant is defined or not in PHP | PHP programs
How to check a constant is defined or not in PHP | PHP programs
How to create a case in-sensitive constant using define() function in PHP | PHP programs
How to create a constant using define() function in PHP | PHP programs
In this article you will learn about constant and literal
In this article you will learn about constants