| Anonymous | Login | Signup for a new account | 10-29-2025 22:42 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 | |||||||
| 0003990 | [Quercus] | minor | always | 04-10-10 09:13 | 05-23-10 06:02 | |||||||
| Reporter | Xr | View Status | public | |||||||||
| Assigned To | ||||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | new | Product Version | 4.0.6 | |||||||||
| Summary | 0003990: isset issues an E_NOTICE on unset variable | |||||||||||
| Description |
Hi, The following code issues a notice in Quercus 4.0.6 (also tested in 4.0.3). <?php error_reporting(E_NOTICE); var_dump(isset($foo)); ?> Such a notice is not shown using the regular PHP distribution. I believe this is the correct behavior: checking if a variable is set should not issue a warning of any kind if it's not set. Note that Quercus returns the correct result (i.e. false). Regards, Xr |
|||||||||||
| Additional Information | ||||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed. 27 unique queries executed. |