News Archive
PhpRiot Newsletter
Your Email Address:

More information

Regarding Underscores

Note: This article was originally published at Planet PHP on 20 October 2010.
Planet PHP
Today, referred to a post by Leszek Stachowski about underscore prefixes on non-public class elements. The question which comes instantly to my mind is: why? Is there any reason why this convention should be kept when PHP object oriented programming has gone a long way since PHP 4 (when there was no access modifiers and [...]