Mantis - Quercus
Viewing Issue Advanced Details
559 trivial always 12-24-05 07:09 12-27-05 15:50
bago  
 
normal  
closed 3.0.18  
fixed  
none    
none 3.0.18  
0000559: print_r output for arrays not identical to original php
original php does insert an extra blank line after the ) of an array.

QueryVariableModule:556:
before:
      out.print(")");
after:
      out.println(")");

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