| Anonymous | Login | Signup for a new account | 10-24-2025 16:34 PDT |
| 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 | |||||||
| 0004144 | [Quercus] | minor | always | 07-28-10 08:16 | 07-28-10 08:16 | |||||||
| Reporter | sblommers | View Status | public | |||||||||
| Assigned To | ||||||||||||
| Priority | normal | Resolution | open | Platform | ||||||||
| Status | new | OS | ||||||||||
| Projection | none | OS Version | ||||||||||
| ETA | none | Fixed in Version | Product Version | |||||||||
| Product Build | ||||||||||||
| Summary | 0004144: Typecasting (array) is not taking the whole object tree to array | |||||||||||
| Description |
$test = (object)"test"; $obj = (object) array('property' => $test); $array = (array)$obj; echo json_encode($array); var_dump($array); |
|||||||||||
| Steps To Reproduce |
$test = (object)"test"; $obj = (object) array('property' => $test); $array = (array)$obj; echo json_encode($array); var_dump($array); |
|||||||||||
| Additional Information | ||||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
| There are no notes attached to this issue. |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed. 24 unique queries executed. |