Mantis Bugtracker
  

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

- Relationships

- Notes
(0002786)
nam
02-19-08 20:08

php/1710
 

- Issue History
Date Modified Username Field Change
02-19-08 17:45 skehlet New Issue
02-19-08 19:36 nam Status new => assigned
02-19-08 19:36 nam Assigned To  => nam
02-19-08 20:08 nam Status assigned => closed
02-19-08 20:08 nam Note Added: 0002786
02-19-08 20:08 nam Resolution open => fixed
02-19-08 20:08 nam Fixed in Version  => 3.1.5


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker