Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ 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 |
|
Status |
closed |
|
Product Version |
4.0.0 |
|
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]". |
Additional Information |
|
|
Attached Files |
|
|