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 |
|
|