Actually, with a careful implementation, backwards compatibility can be achieved. A separate symbol table, indeed I agree, would be undesirable. Instead, the interpreter could simply mask the other variables of the same name during the loop, and return things to normal afterward.

P.S.
Consider the issue dead.

On Saturday, Aug 30, 2003, at 15:25 America/New_York, Ilia Alshanetsky wrote:

PHP has worked like this for years and people were & are happy with it. Even
if you somehow were able to convince (which is not happening) that this
change is useful, it still would not happen. A major functionality change
such as this would break backwards compatibility and render vast majority of
existing PHP code inoperable. If you absolutely need such a functionality,
either switch to a different language or customize your copy of PHP as
suggested by DvDmanDT.


Ilia


-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to