Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000559 [Quercus] trivial always 12-24-05 07:09 12-27-05 15:50
Reporter bago View Status @0@  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 3.0.18
Summary 0000559: print_r output for arrays not identical to original php
Description original php does insert an extra blank line after the ) of an array.

QueryVariableModule:556:
before:
      out.print(")");
after:
      out.println(")");
Additional Information
Attached Files

- Relationships

- Notes
(0000572)
bago
12-24-05 07:42

The proposed fix is not fully compliant.
PHP function does not add the extra space at the end of the print_r.

Here is a more compliant fix:
before:
      out.print(")");
after:
      out.print(")");
      if (depth>0) {
          out.println();
      }
 
(0000584)
ferg
12-27-05 15:50

php/1002
 

- Issue History
Date Modified Username Field Change
12-24-05 07:09 bago New Issue
12-24-05 07:42 bago Note Added: 0000572
12-27-05 15:50 ferg Status new => closed
12-27-05 15:50 ferg Note Added: 0000584
12-27-05 15:50 ferg Resolution open => fixed
12-27-05 15:50 ferg Fixed in Version  => 3.0.18


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker