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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php