Alphabet Array in PHP

Home » Coding » Alphabet Array in PHP

Alphabet Array in PHP

Need the alphabet as an array in PHP? Here you go!

Here is an array with the uppercase alphabet:

$alphabet = array('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');

Here is an array with the lowercase alphabet:

$alphabet = array('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');

This is simply a resource for me to find whenever I need it.

If it helped you then I'm delighted!


Details

  • Title: Alphabet Arrays in PHP
  • Published:
  • Author:
  • Categories: PHP
Top Hosting Providers
Price

Want help?

Sometimes it can be hard to make a choice. Have you still not foun the information you're looking for, or are you wondering about something specific? Get in touch and we'll help you out.

Get in touch