RE: In what scenario an extension of a class is useful?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
> Sent: Tuesday, June 22, 2010 11:58 PM
> 
> object mammal (
>  function eat (mixed $food)
>  function shit ()
>  function sleep()
> )


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux