Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002057 [Quercus] minor always 10-10-07 17:24 10-10-07 21:48
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.1.3
Summary 0002057: array_fill_keys() not implemented
Description Our code calls array_fill_keys() in a few places; it's undefined in Quercus. Not urgent as I can work around it with a PHP-based implementation, but a native one would be more efficient.

http://us3.php.net/manual/en/function.array-fill-keys.php [^]

PHP implementation:

function array_fill_keys($keys, $value) {
  $a = array();
  foreach ($keys as $key) {
    $a[$key] = $value;
  }
  return $a;
}
Additional Information
Attached Files

- Relationships

- Notes
(0002337)
nam
10-10-07 21:48

php/1770
 

- Issue History
Date Modified Username Field Change
10-10-07 17:24 koreth New Issue
10-10-07 21:48 nam Status new => assigned
10-10-07 21:48 nam Assigned To  => nam
10-10-07 21:48 nam Status assigned => closed
10-10-07 21:48 nam Note Added: 0002337
10-10-07 21:48 nam Resolution open => fixed
10-10-07 21:48 nam Fixed in Version  => 3.1.4


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