I've found weird behaviour in PHPs foreach loop. When I do it like this:\[code\]<?php$arr = array();foreach ( $arr as $a ){ echo 'Hello';}?>\[/code\]Then as I expect, nothing is printed simply because the array is empty, but when I do it like this:\[code\]<? $arr = array(); ?><? foreach ( $arr as $a ): ?> Hello<? endforeach; ?>\[/code\]Then the word 'Hello' is printed once... Even though the array is empty. I don't see why this would behave differently. To me this looks like a bug, but I could be missing something...I'm using PHP 5.4 (Windows).And in case you're wondering, I'm using the second method in my .phtml files (template files).