Re: PHP 4.0 Bug #5343: a way of implementing class methods

From: Date: Sun, 02 Jul 2000 15:37:02 +0000
Subject: Re: PHP 4.0 Bug #5343: a way of implementing class methods
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-23223@lists.php.net to get a copy of this message
w>> I╢d welcome this kind of functionality. w>> It╢s sometimes needed to equip classes with some standard methods and w>> making class X a subclass of Y of Z of A of B is not the fine way ;) Why you need this? PHP is not a compiled language, so I don't see why you need to have 2 files for a class. For C++ this makes sense, since you usually get class as a library, so you can't use it as class definition, you need source interface definition - .h. But I do not see cause for this in PHP. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#23223) next »