note 90399 deleted from control-structures.foreach by danbrown
| From: | danbrown@php.net | Date: | Mon, 20 Apr 2009 15:29:24 +0000 |
| Subject: | note 90399 deleted from control-structures.foreach by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-153515@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
Just noticed that in the following example the loop will only be executed once:
foreach ($ary as $a);
{
echo $a;
}
notice the ";" at the end of line one