Re: Re: [PHP] php5 and object
| From: | holmes072000 at charter dot net | Date: | Wed, 28 Jul 2004 23:38:59 +0000 |
| Subject: | Re: Re: [PHP] php5 and object | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-192133@lists.php.net to get a copy of this message | ||
> From: Stephen Sadowski <stephen.sadowski@gmail.com>
> Subject: Re: [PHP] php5 and object
>
> http://us4.php.net/manual/en/language.oop5.abstract.php
>
> The short is that you can't do anything more than define a function in
> an abstract class.
>
> IIRC, change abstract to interface, and you'll probably be okay.
Switch that around. Interfaces cannot contain anything but function definitions. Abstract classes
can contain functions that'll be inherited.
---John Holmes...