Re: PHP's OO Support.

From: Date: Mon, 20 Nov 2000 11:10:50 +0000
Subject: Re: PHP's OO Support.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-38565@lists.php.net to get a copy of this message
JP>> 1. Multiple Inheritance. Not sure about that. It is too much trouble (especially C++-like MI - it's a headache on top of a nightmare). JP>> 2. Virtual Base Classes. What's that? JP>> 3. Private methods (and hence friend functions, etc.) What for? PHP is not really so strongly-controlled language that you need this. Exercise self-discipline and you need no private methods :) JP>> 4. Passing an object by reference. (Apparently there's a problem if the JP>> object passed is liable to be used in another object's constructor. ie: JP>> $test = new BlahClass($this); ) This will be fixed, eventually. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106

« previous php.dev (#38565) next »