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

From: <xdebug-dev[@]lists.xdebug.org>
Date: Wed, 16 Feb 2005 13:50:42 +0100

The following NEW bug has been ADDED.
======================================================================
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: new
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-02-16 13:50 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.
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2005-02-16 13:50akorthaus New Bug
2005-02-16 13:50akorthaus Bug Monitored: akorthaus
======================================================================
Received on Wed Feb 16 2005 - 13:50:47 GMT

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