Re: planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0?
| From: | Christian Schneider | Date: | Sun, 28 May 2006 08:01:58 +0000 |
| Subject: | Re: planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-23745@lists.php.net to get a copy of this message | ||
Marcus Boerger wrote:
i for one think it might be a solution to at least lower the pain of version differences. Which is the reason why i liked the proposal from the beginning and took mentorship.We don't need a full-blown preprocess for that. The much simpler version switch proposed earlier would do. And this while introducing only 10% of the debugging knightmares of a full preproc. But then again I'm even wary of a version switch as it could lead to code like class A { declare(> php4) { static function foo() { ... } } declare(<= php4) { function foo() { ...} } } which raises copy/paste issues. I'd much rather see less incompatibilities introduced into PHP in an attempt to make PHP a language is was never meant to be ;-) - Chris