RE: [PHP] In what scenario an extension of a class is useful?
| From: | Daevid Vincent | Date: | Wed, 23 Jun 2010 18:15:03 +0000 |
| Subject: | RE: [PHP] In what scenario an extension of a class is useful? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306383@lists.php.net to get a copy of this message | ||
Priceless. Could also be extended applied to babies too. ;-p
object babies extends mammal (
function eat (milk $food)
)
ROFL.
> -----Original Message-----
> From: Rene Veerman [mailto:rene7705@gmail.com]
> Sent: Tuesday, June 22, 2010 11:58 PM
>
> object mammal (
> function eat (mixed $food)
> function shit ()
> function sleep()
> )