Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0002450 |
[Quercus] |
major |
always |
02-19-08 17:45 |
02-19-08 20:08 |
|
Reporter |
skehlet |
View Status |
public |
|
Assigned To |
nam |
Priority |
normal |
Resolution |
fixed |
|
Status |
closed |
|
Product Version |
3.1.4 |
|
Summary |
0002450: array_pop returns false when it should return null |
Description |
array_pop returns false when it should return null. For me, this causes the XML_Serializer PEAR library to not work. The php manual page (http://us3.php.net/manual/en/function.array-pop.php) [^] says "If array is empty (or is not an array), NULL will be returned." The code src/com/caucho/quercus/lib/ArrayModule.java line 291 however has:
return BooleanValue.FALSE;
Fixing this may avoid future headaches and incompatibility... thank you. Should be a trivial fix.
|
Additional Information |
|
|
Attached Files |
|
|