Mantis - Quercus
Viewing Issue Advanced Details
1728 major always 05-09-07 00:41 05-14-07 22:13
obaltz  
nam  
normal  
closed 3.1.1  
fixed  
none    
none 3.1.2  
0001728: Quercus: bug in isset()
Be $a the empty string
==> isset($a[0]) should return false.

The isset() implementation of Quercus returns true.

See Additional Information for demo script.
<?php
$a = "";
if ( isset( $a[0] ) ) {
    print( '$a has a length of at least one.' );
}
else {
    print( '$a seems to be empty.' );
}
?>

Notes
(0001911)
nam   
05-14-07 22:13   
php/013o