Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1728 | major | always | 05-09-07 00:41 | 05-14-07 22:13 | |
|
|||||
Reporter: | obaltz | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.2 | ||
|
|||||
Summary: | 0001728: Quercus: bug in isset() | ||||
Description: |
Be $a the empty string ==> isset($a[0]) should return false. The isset() implementation of Quercus returns true. See Additional Information for demo script. |
||||
Steps To Reproduce: | |||||
Additional Information: |
<?php $a = ""; if ( isset( $a[0] ) ) { print( '$a has a length of at least one.' ); } else { print( '$a seems to be empty.' ); } ?> |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|