Re: speaking of control structures...
| From: | Marcus Gnaß | Date: | Wed, 06 May 2009 10:56:11 +0000 |
| Subject: | Re: speaking of control structures... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-292332@lists.php.net to get a copy of this message | ||
Tom Worster wrote:
> there's a control structure i wish php had: a simple block that you can
> break out of, e.g.
As Maarten pointed out you could use a function. Another alternative is
to use Exceptions which might be the most proper way to do it.