| Anonymous | Login | Signup for a new account | 10-29-2025 21:47 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0002932 | [Quercus] | minor | always | 09-14-08 00:19 | 09-15-08 15:16 | ||||
| Reporter | koreth | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 3.2.1 | ||||||
| Summary | 0002932: Casting array to object drops numeric keys | ||||||||
| Description |
<?php print_r((object)array('a' => 'b')); print_r((object)array(1 => 2)); Vanilla PHP prints stdClass Object ( [a] => b ) stdClass Object ( [1] => 2 ) Quercus prints stdClass Object ( [a] => b ) stdClass Object ( ) |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |