Re: PHP 6.0 Wishlist

From: Date: Sun, 14 Aug 2005 00:58:26 +0000
Subject: Re: PHP 6.0 Wishlist
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-18012@lists.php.net to get a copy of this message
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


« previous php.internals (#18012) next »