Anonymous | Login | Signup for a new account | 12-17-2024 08:55 PST |
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 | ||||
0001728 | [Quercus] | major | always | 05-09-07 00:41 | 05-14-07 22:13 | ||||
Reporter | obaltz | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.1 | ||||||
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. |
||||||||
Additional Information |
<?php $a = ""; if ( isset( $a[0] ) ) { print( '$a has a length of at least one.' ); } else { print( '$a seems to be empty.' ); } ?> |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |