Loading, please wait...

Showing articles with Constant. Show all articles
24/06/2021 PHP, 249 Views
How to print the method name with the associated class name using magic constant __METHOD__ in PHP | PHP programs
24/06/2021 PHP, 247 Views
How to print the class name using magic constant __CLASS__ in PHP | PHP programs
24/06/2021 PHP, 287 Views
How to print the function name using magic constant __FUNCTION__ in PHP | PHP programs
24/06/2021 PHP, 311 Views
How to print the line number using __LINE__ magic constant in PHP | PHP programs
24/06/2021 PHP, 322 Views
How to check a constant is defined or not in PHP | PHP programs
24/06/2021 PHP, 376 Views
How to check a constant is defined or not in PHP | PHP programs
24/06/2021 PHP, 295 Views
How to create a case in-sensitive constant using define() function in PHP | PHP programs
24/06/2021 PHP, 339 Views
How to create a constant using define() function in PHP | PHP programs