Re: [patch] Late static bindings (LSB)

From: Date: Thu, 27 Sep 2007 00:25:52 +0000
Subject: Re: [patch] Late static bindings (LSB)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-32456@lists.php.net to get a copy of this message
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 stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

Thread (54 messages)

« previous php.internals (#32456) next »