Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2450 | major | always | 02-19-08 17:45 | 02-19-08 20:08 | |
|
|||||
Reporter: | skehlet | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.4 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.5 | ||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|