for(var i in array) code example
Example 1: when should I use a DIRECTORY_SEPARATOR vs a slash
It doesn't matter -- PHP's IO functions will internally convert
slashes to the appropriate character.
Example 2: for i in a for j in a loop python
for i, j in zip(range(x), range(y)):
...