On Sun, May 6, 2012 at 6:04 AM, Laruence <larue...@php.net> wrote: > Hi: > after a deep look, I think it's not a bug. > > the exception in the catch block is only a local var of that block. Not sure this makes sense to me. PHP does not have block scopes; all variables in a function are in the same scope. For example the $exception variable will also be available after the catch block. So to me it would make sense if the outer variable would be changed :)
Nikita -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php