In Java we got a special for-loop to read from arrays:
for (char c : a)
System.out.print(c + " ");
Every element of the array a will be saved in the variable c. The variable c will be unavailable after the loop is finished. This can be used to output easily every element of the array.
Does this special for-loop exist in PHP? I wasn't able to find it in the PHP docs and in the Google results.