|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3990 | minor | always | 04-10-10 09:13 | 05-23-10 06:02 | |
|
|
|||||
| Reporter: | Xr | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | new | Product Version: | 4.0.6 | ||
| Product Build: | Resolution: | open | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| 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 |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||