note 86331 deleted from function.array-search by danbrown
| From: | danbrown@php.net | Date: | Mon, 13 Oct 2008 17:59:16 +0000 |
| Subject: | note 86331 deleted from function.array-search by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145324@lists.php.net to get a copy of this message | ||
Note Submitter: Paul Ebermann
----
to s0i0m at dreamevilconcepts dot com:
the return automatically leaves all loops, so you don't even need your only break.
And If you wouldn't have the return, two breaks in row won't do it, it then should be
"break 2;"