Hello,
    static methods seem exactly like dynamic binded methods now, is there
any chance that "abstract static function" being restored from E_STRICT
limitation? Currently it is allowed in interfaces, but forbidden in abstract
class, I don't know why php implements "static method" in this way, this
seems strange.. Thanks!

On 9/27/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
>
> > So, if I understand you well, Stanislas, you are personally not much
> into
> > "static::" but more into making that sort of code working :
> >
> > interface iC {
> >       public $structure;
> > }
> > abstract class A implements iC {
> >       public function display() {
> >               echo self::$structure;
> >       }
> > }
> > class B extends A {
> >       static public $structure = "This is a string.";
> > }
> > $b = new B();
> > $b->display();
>
> No, I don't think we should make interfaces with variables, I'm just
> telling that the code before had API that not allowed correctly enforce
> its requirements.
> --
> 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
>
>


-- 
Best regards,
Jingcheng Zhang
Room 304, Dormitory 26 of Yuquan Campus, Zhejiang University
P.R.China

Reply via email to