Object Oriented PHP - Class Constants - Full PHP 8 Tutorial

Опубликовано: 01 November 2024
на канале: Program With Gio
30,197
1k

In the first section of the course, you learned how to work with constants in PHP. In this lesson, you will learn how to work with class constants, how to access them using the scope resolution operator & so on. I also show a good use case for it with a real example.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon:   / programwithgio  
THANK YOU!

LESSON 2.6
Course Outline - https://github.com/ggelashvili/learnp...
Course Playlist -    • Learn PHP The Right Way - Full PHP Tu...  

RESOURCES
Video About Constants -    • What Are Constants & Variable Variabl...  
PHP 8.1 Enums - https://wiki.php.net/rfc/enumerations