note 43875 deleted from function.isset by curt

From: Date: Wed, 07 Jul 2004 03:43:36 +0000
Subject: note 43875 deleted from function.isset by curt
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72808@lists.php.net to get a copy of this message
Note Submitter: blaksaga ---- If I pass $name to a page from a form and the page contains this: <? function example ( $name ) { return; } if ( isset ( $name ) ) echo "ISSET"; ?> It will not work as expected. For some reason $name gets cleared after the function declaration. Just an FYI. So be sure to use alternate names for parameters.

« previous php.notes (#72808) next »