With static:: you are not able to call method of parent with the same name.

Dmitry.


> -----Original Message-----
> From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 21, 2007 12:03 PM
> To: Michael Lively
> Cc: Dmitry Stogov; 'Marcus Boerger'; 'Lukas Kahwe Smith'; 
> 'Etienne Kneuss'; internals@lists.php.net; 'Andi Gutmans'
> Subject: Re: [PHP-DEV] [patch] Late static bindings (LSB)
> 
> 
> > class TableSelectExplainBuilder  extends TableSelectBuilder
> > {
> >    static protected function buildSelectQuery()
> >    {
> >        return "EXPLAIN ".parent::buildSelectQuery();
> >    }
> > }
> 
> Why not do static:: instead of parent:: here?
> -- 
> Stanislav Malyshev, Zend Software Architect
> [EMAIL PROTECTED]   http://www.zend.com/
> (408)253-8829   MSN: [EMAIL PROTECTED]
> 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to