Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003201 [Quercus] minor always 12-28-08 23:56 12-29-08 09:26
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 0003201: json_decode fails on empty objects when creating associative arrays
Description Related to bug 3197:

<?php
print_r(json_decode('{"x":{}}', true));

The bug ("Warning: error parsing '}': expected no more input") is fixed when the second argument to json_decode is set to false or removed, but is still present when it's set to true.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003680)
ferg
12-29-08 09:26

php/4738
 

- Issue History
Date Modified Username Field Change
12-28-08 23:56 koreth New Issue
12-29-08 09:26 ferg Note Added: 0003680
12-29-08 09:26 ferg Assigned To  => ferg
12-29-08 09:26 ferg Status new => closed
12-29-08 09:26 ferg Resolution open => fixed
12-29-08 09:26 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