PHP Tutorial for Beginners7# What are PHP Constants and Constants are case sensitive ?

3,579 views · Published 7 March 2017 · 8:39 · Indexed 23 September 2026

Channel: Technical Suneja · 2017 · Education

Watch on YouTube

PHP constants are name or identifier that can't be changed during the execution of the script. PHP constants can be defined by 2 ways:
1. Using define() function
2. Using const keyword
PHP constants follow the same PHP variable rules. For example, it can be started with letter or underscore only.
Conventionally, PHP constants should be defined in uppercase letters.


If you have any query about these stuff than you can mail us on this email id :  [email protected]

Twitter id :https://twitter.com/tutorialspoint2

facebook : https://www.facebook.com/tutorialspoint2016

Instragram : https://www.instagram.com/tutorialspoint2016

Google plus : https://plus.google.com/+TutorialsPoint2016

Blogger : http://tutorialspoint2016.blogspot.in/

Don't forget to hit the Subscribe & Like button!

More from this channel