How to print the alphabet using range in PHP

1 Answer

0 votes
foreach (range('a', 'z') as $ch) {
	echo $ch . "<br>";
}  



/*
run:
 
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
 
*/

 



answered Aug 22, 2020 by avibootz

Related questions

...