|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3128 | minor | always | 12-05-08 23:39 | 12-10-08 09:15 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.2.1 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|
|||||
| Summary: | 0003128: $GLOBALS elements go missing when it is used as an argument | ||||
| Description: |
<?php function check_it($arr) { return array_key_exists('foo', $arr); } $GLOBALS['foo'] = 0; print check_it($GLOBALS) ? "exists" : "missing"; Regular PHP prints "exists". Quercus prints "missing". |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||