> -----Original Message----- > From: Lukas Smith [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 01, 2006 5:50 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] [PATCH] Late Static Binding > > > Dmitry Stogov wrote: > > 1) I would very like to see some real example where "static" is > > necessary? > > I think Mike illustrated this in his post. Or do you want a > "real" world > example?
Yes I like not a sintetic test but real life example (singleton, factory or something else). (I tried to write generic singleton but it wasn't exelent.) > > 2) "static" is really bad name. I suggest "caller", Marcus thought > > about "class". > > I dont really see an issue with calling the thing "static" > considering > its about late static binding. Also AFAIK this name was > agreed upong in > Paris. A meeting you also attended. Term "static" is already used for static methods. The conept of "late static binding" doesn't exist in other languages, and nobody except authors will understand that static::foo() is not a static method call. Thanks. Dmitry. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php