PHP Inheritance of a class property’s visibility
Friday, September 3rd, 2010In Object-Oriented PHP5 a class’s properties can have their ‘visibility‘ set.
If a property is undeclared …
In Object-Oriented PHP5 a class’s properties can have their ‘visibility‘ set.
If a property is undeclared …
Whenever I create a PHP class method that I intend to use statically, I declare it as …
Zend Config INI and Zend Config XML are handy adaptors that allow you …
Over the years, I have often been faced with the choice of whether to refactor or rewrite.
In …
Sometimes you might want to make a PHP web page do different things depending on the value …
I found a need to implement the “Introduce Null Object“ refactoring procedure that is …
If you write a custom __sleep() magic method for a PHP class, you are expected …
This is another ‘Gotcha’ moment that i want to share with you.
I don’t often declare a PHP …
Yes - it can in PHP version 5.2.
(The example code below is also available …