Re: LSB forward_static_call()
| From: | Stanislav Malyshev | Date: | Tue, 24 Jun 2008 16:37:32 +0000 |
| Subject: | Re: LSB forward_static_call() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38587@lists.php.net to get a copy of this message | ||
Hi!
in my ActiveRecord, table for DepartmentUsers would actually exist ;)Even worse. All the data is in the Users table, DepartmentUsers is just a functionality extension. So you'll be operating on wrong data.
I am just looking for consistency. I am expecting get_called_class() to work as a static analog of get_class(this)Can we PLEASE stop using "consistency" to mean "do as I say"? What "consistency" is in changing way parent:: worked for years, making parent:: and class:: work differently and disabling non-forwarding call? Consistency with what - with your wishes? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com