Michael Southwell wrote: > This tiny script: > <?php > session_start(); > $ineligibleFlag = FALSE; > if ( $ineligibleFlag === FALSE ) echo 'it is false<br />'; > $_SESSION['ineligibleFlag'] = FALSE; > print_r( $_SESSION ); > > produces this output: > it is false > Array ( [ineligibleFlag] => )
When cast to a string, FALSE is the empty string. Chris -- Chris Shiflett http://shiflett.org/ _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
