|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3201 | minor | always | 12-28-08 23:56 | 12-29-08 09:26 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.0 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|
|||||
| 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: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||