Anonymous | Login | Signup for a new account | 11-22-2024 04:23 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0003783 | [Quercus] | major | always | 11-23-09 19:06 | 11-23-09 21:59 | |||||||
Reporter | werelnon | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | Platform | ||||||||
Status | new | OS | ||||||||||
Projection | none | OS Version | ||||||||||
ETA | none | Fixed in Version | Product Version | 4.0.2 | ||||||||
Product Build | ||||||||||||
Summary | 0003783: array_keys function alters passed in array | |||||||||||
Description |
The function array_keys works fine on a single dimension array, but a severe issue crops up if used on a sub array of a multi dimension array. For example execute the following code: <? $test = array( 'fruit' => array( 'apple' => 'crisp', 'banana' => 'break', 'orange' => 'sour' )); array_keys( $test['fruit'] ); print_r( $test ); ?> The output of this is: Array ( [fruit] => Array ) |
|||||||||||
Steps To Reproduce | ||||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
11-23-09 19:06 | werelnon | New Issue | |
11-23-09 21:59 | werelnon | Note Added: 0004311 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |