FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=12360&edit=1

ID: 12360
Updated by: demon.gene@gmail.com
Reported By: carsten_sttgt at gmx dot de
Summary: wrong rendering of var arrays, if a key is an array
Status: Verified
Type: Bug
Package: PhpDocumentor
Operating System: Windows_NT
Package Version: 1.4.0
PHP Version: 5.2.4
-Roadmap Versions: 1.4.4
+Roadmap Versions: 1.4.5
New Comment:

-Roadmap Versions: 1.4.4
+Roadmap Versions: 1.4.5



Previous Comments:
------------------------------------------------------------------------

[2009-10-12 13:50:33] ashnazg

-Roadmap Versions: 1.5.0a1
+Roadmap Versions: 1.4.4


------------------------------------------------------------------------

[2009-10-12 13:50:20] ashnazg

-Status: Open
+Status: Verified
I can reproduce this using the provided test case against the current
PhpDoc SVN.

------------------------------------------------------------------------

[2007-10-30 12:44:52] cwiedmann

Description:
------------
Hello,

if I use an array as value for a key in a var array, there is something
wrong with the rendering.

Regards,
Carsten


Test script:
---------------
<?php
/**
* @package Test
*/

/**
* Description
*
* @package Test
*/
class Test
{
/**
* _foo
* @var array
* @access private
*/
var $_foo = array(
'Value1' => false,
'Value2' => array(1, 2),
'Value3' => true
);
}
?>


Expected result:
----------------
array $_foo = array(
'Value1' => false,
'Value2' => array(1, 2),
'Value3' => true) (line 18)


Actual result:
--------------
array $_foo = array(
'Value1' => false,
'Value2' => array(1, 2),'Value3'=>true) (line 18)

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 30, '11 at 9:29p
activeNov 30, '11 at 9:29p
posts1
users1
websitepear.php.net

1 user in discussion

Demon Gene: 1 post

People

Translate

site design / logo © 2022 Grokbase