Viewing Issue Advanced Details
[ Jump to Notes ]
|
[ View Simple ]
[ 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 |
Platform |
|
Status |
closed |
|
OS |
|
Projection |
none |
|
OS Version |
|
ETA |
none |
Fixed in Version |
3.1.5 |
Product Version |
3.1.4 |
|
Product Build |
|
|
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.
|
Steps To Reproduce |
|
Additional Information |
|
|
Attached Files |
|
|