Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003146 [Quercus] minor always 12-11-08 00:29 12-11-08 09:18
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.0
Summary 0003146: array_shift() removes wrong element
Description <?php
$foo = array(1,2,3,4);
array_shift($foo);
print_r($foo);

Regular PHP prints Array ( [0] => 2 [1] => 3 [2] => 4 ). Quercus prints Array ( [0] => 1 [1] => 3 [2] => 4 ) -- it has removed the second element from the array here, not the first.
Additional Information
Attached Files

- Relationships

- Notes
(0003598)
ferg
12-11-08 09:18

php/171j
 

- Issue History
Date Modified Username Field Change
12-11-08 00:29 koreth New Issue
12-11-08 09:18 ferg Note Added: 0003598
12-11-08 09:18 ferg Assigned To  => ferg
12-11-08 09:18 ferg Status new => closed
12-11-08 09:18 ferg Resolution open => fixed
12-11-08 09:18 ferg Fixed in Version  => 4.0.0


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