For what it's worth - casting my vote - I would vote that the PHP/Zend people keep 
REGISTER_GLOBALS as an option for one main reason:

NEWBIES!

Think of how nice it is for the total newbies to be able to have this first tutorial:

<?php print "Hello $myname"; ?>

<form action="<?php print $PHP_SELF; ?>">
what is your name?
<input type="text" name="myname">
<input type="submit" name="submit" value="submit">
</form>


Think of how many PHP-CURIOUS people it'd turn off if you could ONLY do it with 
$_REQUEST["myname"]

Hell - I *still* have to go to the php.net announcement page to remember the syntax of 
the new type.  It doesn't come naturally.  Nothing like $variablename.

I think the EASE of the form example, above, is what got me into PHP in the first 
place.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to