Re: Req #62354 [PATCH]: Activate get_debug_info object handlers
| From: | Pieter de Zwart | Date: | Tue, 19 Jun 2012 19:27:18 +0000 |
| Subject: | Re: Req #62354 [PATCH]: Activate get_debug_info object handlers | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-9512@lists.php.net to get a copy of this message | ||
Hey Julien,
I actually disabled these on purpose because I could never get them to
work correctly. They were constantly either segfaulting or memory
leaking. Can you look on your system and see if they leak when
enabled?
Thanks!
Pieter
On Mon, Jun 18, 2012 at 9:37 AM, jpauli@php.net <pecl-dev@lists.php.net> wrote:
> Edit report at https://bugs.php.net/bug.php?id=62354&edit=1
>
> ID: 62354
> Patch added by: jpauli@php.net
> Reported by: jpauli@php.net
> Summary: Activate get_debug_info object handlers
> Status: Open
> Type: Feature/Change Request
> Package: amqp
> Operating System: *
> PHP Version: 5.3.14
> Block user comment: N
> Private report: N
>
> New Comment:
>
> The following patch has been added/updated:
>
> Patch Name: get_degug_info-handlers
> Revision: 1340037468
> URL:
> https://bugs.php.net/patch-display.php?bug=62354&patch=get_degug_info-handlers&revision=1340037468
>
>
> Previous Comments:
> ------------------------------------------------------------------------
> [2012-06-18 16:37:16] jpauli@php.net
>
> Description:
> ------------
> get_debug_info object handlers are #if 0'ed so they are not activated.
> They should be for a better var_dump() debugging
>
> Test script:
> ---------------
> var_dump(new AMQPEnvelope)
>
> Expected result:
> ----------------
> object(AMQPEnvelope)#1 (18) {
> ["body"]=>
> string(0) ""
> ["content_type"]=>
> string(0) ""
> ["routing_key"]=>
> string(0) ""
> ["delivery_tag"]=>
> int(0)
> ["delivery_mode"]=>
> int(0)
> ["exchange_name"]=>
> string(0) ""
> ["is_redelivery"]=>
> int(0)
> ["content_encoding"]=>
> string(0) ""
> ["type"]=>
> string(0) ""
> ["timestamp"]=>
> int(0)
> ["priority"]=>
> int(0)
> ["expiration"]=>
> string(0) ""
> ["user_id"]=>
> string(0) ""
> ["app_id"]=>
> string(0) ""
> ["message_id"]=>
> string(0) ""
> ["reply_to"]=>
> string(0) ""
> ["correlation_id"]=>
> string(0) ""
> ["headers"]=>
> array(0) {
> }
> }
>
>
> Actual result:
> --------------
> object(AMQPEnvelope)#1 (0) {
> }
>
>
> ------------------------------------------------------------------------
>
>
>
> --
> Edit this bug report at
> https://bugs.php.net/bug.php?id=62354&edit=1