|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-11-11 03:42 UTC] bariou at brasnah dot com
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....
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 00:00:02 2025 UTC |
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