ID: 20353
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Feedback
Bug Type: Strings related
Operating System: Red hat 7.2
PHP Version: 4.3.0-pre2
New Comment:
I can't reproduce this, works fine for me:
[derick@kossu derick]$ php
<?php
$foo = "";
if (isset($foo)) {
echo "IN HERE!\n";
}
?>
IN HERE!
[derick@kossu derick]$ php -v
PHP 4.3.0-pre2 (cli)
Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
with eXtended Debugger (xdebug) v1.1.0dev, Copyright (c) 2002 JDI
Media Solutions, by Derick Rethans
Please post a full reproducing script that we can copy & paste, but
keep it as small as possible.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-11-11 03:42:11] [EMAIL PROTECTED]
On 4.2.2 I've
if(isset($namevar)){
//some statements
// It comes here if $namevar is set, even if $namevar="";
}
On 4.3.0-pre2 I've
if(isset($namevar)){
//some statements
// It doesn't come if $namevar="";
}
You can't change that to much legacy....
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20353&edit=1