Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 200004

Re: [PHP4BETA] Constructors From: Andi Gutmans (andi <email protected>)
Date: 04/21/00

PHP doesn't have polymorphic functions and methods. In general, it is not a
full-fledged OOP language but just has some of the basics which allows you
to nicely package functionality.

Andi

At 11:03 PM 4/20/00 -0700, Szii wrote:
>class me
>{
> function Me()
> {
> echo "mememe.";
> }
>
> function Me($someoneelse)
> {
> echo "Not me.";
> }
>
>}
>
>$classobj = new me(); #will call Me($someoneelse)
>
>// output
>Not me.
>
>
>Anyone else seen this? Doesn't look like the
>polymorphism's working quite right for constructors...
>
>-Szii
>
>--
>PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
>To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
>For additional commands, e-mail: php4beta-help <email protected>
>To contact the list administrators, e-mail: php4beta-admin <email protected>

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>