Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003197 [Quercus] minor always 12-27-08 22:08 12-28-08 21:50
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.0 Product Version 4.0.0
  Product Build
Summary 0003197: json_decode fails on empty objects
Description <?php
print_r(json_decode('{"x":{}}'));

Regular PHP prints "stdClass Object ( [x] => stdClass Object ( ) )". Quercus prints "Warning: error parsing '}': expected no more input [json_decode]".
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003679)
ferg
12-28-08 21:50

php/4737
 

- Issue History
Date Modified Username Field Change
12-27-08 22:08 koreth New Issue
12-28-08 21:50 ferg Note Added: 0003679
12-28-08 21:50 ferg Assigned To  => ferg
12-28-08 21:50 ferg Status new => closed
12-28-08 21:50 ferg Resolution open => fixed
12-28-08 21:50 ferg Fixed in Version  => 4.0.0


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