I have come across a PHP foreach statement that I am having trouble finding any documentation on.
Here is the code I am having trouble understanding:
<?php foreach((array)$this->item->partno as $value): ?>
// do some stuff
<?php endforeach; ?>
What is the (array) doing and what is happening with this foreach?