|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-08-23 11:20 UTC] tim at thelogichouse dot com
[2002-09-23 22:36 UTC] geethanandh at yahoo dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 07:00:02 2025 UTC |
$x = ""; if (isset($x)) print "X is set\n"; if (isset($y)); print "Y is set\n"; if (strlen($x) > 0) print "X is set (SL)\n"; if (strlen($y) > 0) print "Y is set (SL)\n"; ### The following script should at best print 'X is Set' because $x has been set to "". However This is my output: X is set Y is set $y is nowhere defined in the script, yet isset returns it as set. Please feel free to contact if you need any more info. Timothy M. Crider