Req #60738 [PATCH]: Allow 'set_error_handler' to handle NULL
| From: | laruence@php.net | Date: | Sat, 24 Mar 2012 04:17:26 +0000 |
| Subject: | Req #60738 [PATCH]: Allow 'set_error_handler' to handle NULL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-168791@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60738&edit=1
ID: 60738
Patch added by: laruence@php.net
Reported by: four dot zerooneunauthorized at gmail dot com
Summary: Allow 'set_error_handler' to handle NULL
Status: Open
Type: Feature/Change Request
Package: Unknown/Other Function
Operating System: irrelivant
PHP Version: 5.3.9
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: bug60738.patch
Revision: 1332562646
URL: https://bugs.php.net/patch-display.php?bug=60738&patch=bug60738.patch&revision=1332562646
Previous Comments:
------------------------------------------------------------------------
[2012-03-24 03:32:00] laruence@php.net
The following patch has been added/updated:
Patch Name: bug60738.patch
Revision: 1332559920
URL: https://bugs.php.net/patch-display.php?bug=60738&patch=bug60738.patch&revision=1332559920
------------------------------------------------------------------------
[2012-03-24 03:30:48] laruence@php.net
The following patch has been added/updated:
Patch Name: bug60738.patch
Revision: 1332559848
URL: https://bugs.php.net/patch-display.php?bug=60738&patch=bug60738.patch&revision=1332559848
------------------------------------------------------------------------
[2012-03-24 03:26:17] laruence@php.net
Hi, I attached another fix, this will save one alloc/free pair, and also save one
(IS_NULL == Z_TYPE_P(error_handler).
Nikic, if you have no objection, I will commit the patch.
thanks
------------------------------------------------------------------------
[2012-03-24 03:24:41] laruence@php.net
The following patch has been added/updated:
Patch Name: bug60738.patch
Revision: 1332559481
URL: https://bugs.php.net/patch-display.php?bug=60738&patch=bug60738.patch&revision=1332559481
------------------------------------------------------------------------
[2012-03-23 20:50:45] nikic@php.net
The following patch has been added/updated:
Patch Name: error_handler_patch_1.diff
Revision: 1332535845
URL: https://bugs.php.net/patch-display.php?bug=60738&patch=error_handler_patch_1.diff&revision=1332535845
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=60738
--
Edit this bug report at https://bugs.php.net/bug.php?id=60738&edit=1