Re: com php-src: Add NEWS/UPGRADING for previous change: NEWS UPGRADING
| From: | Nikita Popov | Date: | Sat, 22 Sep 2012 20:01:24 +0000 |
| Subject: | Re: com php-src: Add NEWS/UPGRADING for previous change: NEWS UPGRADING | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-70226@lists.php.net to get a copy of this message | ||
For the backstory to those changes (and why the commit history is
rather messy) see
https://bugs.php.net/bug.php?id=60738
https://github.com/php/php-src/pull/18
https://github.com/php/php-src/pull/20
http://markmail.org/message/b4upwtayvoo3j7se
Nikita
On Sat, Sep 22, 2012 at 9:54 PM, Nikita Popov <nikic@php.net> wrote:
> Commit: 5de79f9f0717d147b02033e270bea20561707db8
> Author: Nikita Popov <nikic@php.net> Sat, 22 Sep 2012 21:54:59 +0200
> Parents: 5c7dd7811ef34c8cbe8bdad333678809f649d383
> Branches: master
>
> Link:
> http://git.php.net/?p=php-src.git;a=commitdiff;h=5de79f9f0717d147b02033e270bea20561707db8b±»ùí¸
> ÿ~œm»LØÐŽ
>
> Log:
> Add NEWS/UPGRADING for previous change
>
> Changed paths:
> M NEWS
> M UPGRADING
>
>
> Diff:
> diff --git a/NEWS b/NEWS
> index d54cc1c..00a2dd6 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -26,6 +26,8 @@ PHP
> NEWS
> (srgoogleguy, Gustavo)
> . Implemented FR #60738 (Allow 'set_error_handler' to handle NULL).
> (Laruence, Nikita Popov)
> + . Return previous handler when passing NULL to set_error_handler and
> + set_exception_handler. (Nikita Popov)
> . Added optional second argument for assert() to specify custom message. Patch
> by Lonny Kapelushnik (lonny@lonnylot.com). (Lars)
>
> diff --git a/UPGRADING b/UPGRADING
> index 59dfbb4..bc5773c 100755
> --- a/UPGRADING
> +++ b/UPGRADING
> @@ -107,6 +107,10 @@ PHP X.Y UPGRADE NOTES
> but that predated the existence of E_DEPRECATED.
> - php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid() and
> zend_logo_guid() have been removed
> +- set_error_handler(NULL) can now be used to reset the error handler.
> + Furthermore both set_error_handler(NULL) and set_exception_handler(NULL) will
> + now return the previously defined error/exception handler. Previously
> + bool(true) was returned.
>
> ========================================
> 5. New Functions
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>