On Sat, 13 Aug 2005, Lukas Smith wrote:
Xuefer wrote:
possibly make a internal or loadable "argument reposition table", enabled
with:
declare(fix_function_argument_position);
fix at compile time, no performance lost on runtime.
but might confuse the debuger if the origin position in source is
forget after compile
As I suggested by using runkit (AFAIK it could be extended to be able to
intercept calls to internal fuctions .. if it cant do that already) we could
provide a BC lib for every BC break we make due to parameter order changing.
PEAR::PHP_Compat could be used to fix up all the changed function names or
dropped alias.
Or do that the other way around: Provide the changed ones in there
for forward compatibility and just break it hard on PHP 6. :)
--Jani
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php