I've come across a function in some code I'm trying to debug and I'm not sure why it is written like this
foreach ($companies as $company) {
if (!isset($company->account)) {
continue;
}
some_function($company, $sectorsMap, $subSectorsMap);
}
Is this the same?
foreach ($companies as $company) {
if (!isset($company->account)) {
some_function($company, $sectorsMap, $subSectorsMap);
}
}
How does the continue control structure work?
Cheers