Quantcast
Channel: Comments on: Building Your Own URL Shortener
Viewing all articles
Browse latest Browse all 42

By: Alex Fraundorf

$
0
0

Alex,
Thank you very much for the reply, the explanation and for correcting me on my mis-use of static properties.
It certainly looks like class constants are the way to go for these types of values.
Hopefully in a future version, PHP will allow for an option to set the visibility of these class constants to protected or private.
Thank you again for your insight and for sharing your expertise. I’m sure that many will learn from it as I have.
All the best!
P.S. Sorry for the delayed reply.


Viewing all articles
Browse latest Browse all 42

Trending Articles