Version 1:
for($s = 'a'; $s <= 'zzzzzzzzzz'; print $s++.PHP_EOL);
as Paul noted in the comments below, this will only be zzzzzzzzyz . A bit slower (if someone cares), but the correct version is:
//modified to include arnaud576875 method of checking exit condition for($s = 'a'; !isset($s[10]); print $s++.PHP_EOL);
source share