I see Marcus has already attempted to fix this even though the bug report is still open.
Marcus, what exactly did you do? It seems you allow only NULL to reset exception handler and not empty string. Right?
So it seems like you agree with me that "" is ugly but the question is if we're breaking something now.
It's probably early enough in the game to do so.


Andi

At 11:44 PM 10/11/2004 -0700, Robert Silva wrote:
The problem is that set_exception_handler allows you to reset the handler by
passing an empty string as argument. It did not check to make sure it was a
string before checking strlen, therefore when passed an array, it assumed
the user was resetting the handler. This patch only resets when an empty
string is passed in (an array will set a new handler).

Bob Silva


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

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



Reply via email to