<?php //parse this with mod_php4
function class_method($var){ }
?>
<?php5 //parse this with mod_php5
class clazz implements Something{
function method($var) {
}
}
?>
Ummm, maybe your speaking alien, but could you clarify how that solves
the problem you are addressing?
First, if every version of the language would have it's own tag, then
there would be no need to maintain BC beyond reasonable necessity.
Second, hosing providers would be more apt to uprade. They would simply
add new module without removing the old one. This way both old and new
scripts would work perfectly fine without the need for some kind of
compatibility mode.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php