|
Posted by Toby A Inkster on 07/29/07 09:13
Sanders Kaufman wrote:
> Also, PHP is REAL good about remaining backward compatible with its own
> previous versions - but this feature didn't seem to make the cut for PHP5.
In PHP5, you don't need hacks like aggregate(). You can implement
multi-inheritance just using the standard PHP5 OO features: by overloading
__get(), __set(), __unset(), __isset() and __call().
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 38 days, 12:50.]
Cryptography Challenge
http://tobyinkster.co.uk/blog/2007/07/24/crypto-challenge/
[Back to original message]
|