198

Enumerations and PHP – Trikoder

 6 years ago
source link: https://blog.trikoder.net/enumerations-and-php-8c5f1678b0d2?gi=69d4b8b3fd1d
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
We have all, at some point, used constants to define some constant value in our code. They are used to avoid magic values. By replacing some magic value with a symbolic name, we can give it some…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK