Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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 Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.2 Product Version 3.1.1
  Product Build
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.' );
}
?>
Attached Files

- Relationships

- Notes
(0001911)
nam
05-14-07 22:13

php/013o
 

- Issue History
Date Modified Username Field Change
05-09-07 00:41 obaltz New Issue
05-14-07 22:13 nam Status new => assigned
05-14-07 22:13 nam Assigned To  => nam
05-14-07 22:13 nam Status assigned => closed
05-14-07 22:13 nam Note Added: 0001911
05-14-07 22:13 nam Resolution open => fixed
05-14-07 22:13 nam Fixed in Version  => 3.1.2
10-27-11 17:54 jamesdlow Issue Monitored: jamesdlow


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker