Re: [patch] Late static bindings (LSB)

From: Date: Fri, 21 Sep 2007 08:02:53 +0000
Subject: Re: [patch] Late static bindings (LSB)
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-32413@lists.php.net to get a copy of this message
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 stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

Thread (54 messages)

« previous php.internals (#32413) next »