Hello,
After thinking about it for a bit, I'm convinced. If goto can be
implemented so that it is fast, and does not adversely affect other
parts of PHP, by all means, do it.
Andrey, you've been very clear why you would not use it, but why do
you want me not to use it? I can think of quite a few times when it
would have made my code much cleaner.
As far as shooting yourself in the foot, how about:
mysql_query("SELECT x,y,z FROM t WHERE id=" . $_GET['id']);
or
include($_GET['header_file']);
or
shell_exec('somecommand ' . $_POST['param']);
There are PLENTY of way's to shoot yourself in the foot with any
language. If joe shoots himself in his foot, does that mean that
I should not be allowed to shoot at all?
+1
--
Best regards,
Jason mailto:[EMAIL PROTECTED]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php