[xdebug-dev] Bug 0000117: var_dump dows not work with "private"

From: <xdebug-dev[@]lists.xdebug.org>
Date: Thu, 10 Mar 2005 22:36:13 +0100

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000117
======================================================================
Reporter: akorthaus
Handler:
======================================================================
Project: Xdebug
Bug ID: 117
Category: Usage problems
Reproducibility: always
Severity: trivial
Priority: normal
Status: closed
Operating System: Linux 2.4.28 (Gentoo)
PHP Version: 5.0.3-dev
Xdebug Version: 1.3.2
======================================================================
Date Submitted: 2005-02-16 13:50 CET
Last Modified: 2005-03-10 22:36 CET
======================================================================
Summary: var_dump dows not work with "private"
Description:
I have the following code:

<?php
class Test {
    private $test;
}
var_dump (new Test);
?>

without xdebug I geht the following output:

object(Test)http://bugs.xdebug.org/bug_view_page.php?bug_id=0000011 (1) {
  ["test:private"]=>
  NULL
}

with xdebug enabled, I get:

object(Test)
  '' => null

The same for "protected". "public" works correct.
======================================================================

----------------------------------------------------------------------
 akorthaus - 2005-02-17 14:09 CET
----------------------------------------------------------------------
in xdebug-2.0.0beta2 this problem seems to be solved

----------------------------------------------------------------------
 derick - 2005-03-10 22:36 CET
----------------------------------------------------------------------
Fixed in CVS (XDEBUG_1_3), this fix was already in HEAD (for Xdebug 2.0)

Bug History
Date Modified Username Field Change
======================================================================
2005-02-16 13:50akorthaus New Bug
2005-02-16 13:50akorthaus Bug Monitored: akorthaus
2005-02-17 14:09akorthaus Bugnote Added: 0000234
2005-03-10 22:36derick Bugnote Added: 0000246
2005-03-10 22:36derick Status new => closed
======================================================================
Received on Thu Mar 10 2005 - 22:36:26 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST