note 98179 deleted from control-structures.goto by danbrown
| From: | danbrown@php.net | Date: | Tue, 01 Jun 2010 14:55:07 +0000 |
| Subject: | note 98179 deleted from control-structures.goto by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169791@lists.php.net to get a copy of this message | ||
Note Submitter: Lennie
----
goto doens't have to be a bad thing. If used properly, the Linux-kernel has many goto's,
99% of the time it's used to jump to the end of the function where variables are cleaned up
before returning an error.