From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.3.0
PHP Bug Type:     Unknown/Other Function
Bug description:  isset in an array

Don't know if it's a bug or a feature... :)

$test = array ('a' => 'coooool','b' => $ddfdfdf);
if ( isset($test['b']) ) {
        echo "OOOK ! \n";
}

echoes nothing, and

$test = array ('a' => 'coooool','b' => "$ddfdfdf");
if ( isset($test['b']) ) {
        echo "OOOK ! \n";
}
echoes OOOK

Is this normal ?
-- 
Edit bug report at http://bugs.php.net/?id=21490&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21490&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21490&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21490&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21490&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21490&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21490&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21490&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21490&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21490&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21490&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21490&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21490&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21490&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21490&r=gnused

Reply via email to