PHP String Exercises: Print letters from 'a' to 'z'
PHP String: Exercise-26 with Solution
Write a PHP script to print letters from 'a' to 'z'.
<?php for ($x = ord('a'); $x <= ord('z'); $x++) echo chr($x); echo "\n" ?>
PHP Code Editor:
Have another way to solve this solution? Contribute your code (and comments) through Disqus.
What is the difficulty level of this exercise?