PHP

Join the PHP Track
PHP is a scripting language designed for web development, but also used as a general-purpose programming language. It's one of the most popular programming languages for web development and provides object-oriented capabilities.
Join the PHP Track
Track mentors

16 Mentors

Our mentors are friendly, experienced PHP developers who will help teach you new techniques and tricks.
Track students

5,317 Students

Join thousands of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

65 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About PHP

<?php

function helloWorld($name = 'World')
{
    return "Hello, $name!";
}

PHP is a server-side language suited towards web development. The acronym is recursive, standing for PHP: Hypertext Preprocessor.

Considerably more versatile than CGI scripting, PHP is often used to add interactivity to plain HTML and bolster web frameworks.

The language can be employed on any operating system. PHP is supported by most common web servers and is often handled through an interpreter module. This combines static web code with dynamic inclusions.

PHP isn't just a web server framework. It's also useful for command-line scripting (headless parsing) and developing GUIs.

You should learn PHP because:

  • it's an Open Source language
  • it's well-documented and supported
  • it's compatible with most common web servers
  • it's easy to pick up and start learning
  • it's highly scalable and extensible
Join the PHP track

A tremendous learning opportunity to explore the depth of your own knowledge

Exercism is fantastic in learning new languages but that is not the extent of it. If you are a "more experienced" programmer you may have encountered impostor syndrome: the idea you don't really know what you think you know. Exercism lets you solve problems and put them in the space of open feedback which is a tremendous learning opportunity to explore the depth of your own knowledge. Even if you have been programming in a language for awhile it is worth checking into Exercism to see where you stand with current implementation practices.

Relaxed. Encouraging. Supportive.

Meet the PHP Track mentors

Once you join the PHP language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.

Avatar of Marko Kunic

Marko Kunic https://github.com/kunicmarko20

I do PHP for the past few years. I enjoy helping people and doing open source. Love clean code. Never stop learning is the motto.
Avatar of Juang Salaz Prabowo

Juang Salaz Prabowo https://github.com/juangsalaz

I'm a PHP developer, now I'm working as freelancer. I'm very passionate to became a mentor.
Avatar of mienaikage

mienaikage https://github.com/janczer

I do PHP for the past few years and I am happy to give back by mentoring PHP.
Avatar of Volodymyr Bilokur

Volodymyr Bilokur https://github.com/vladimino

I am a PHP Developer with 15+ years of experience in a wide variety of industries. I'm a servant leader, a life-long learner and a passionate mentor. I value most the light-bulb moments when, after my explanation, it becames clear something that wasn't understandable just a couple of minute ago
Avatar of Favio Manriquez

Favio Manriquez https://github.com/favrik

PHP was my first language, it has a special place in my heart. I also enjoy teaching and mentoring others, plus it's a great way to refresh knowledge.
Avatar of Pierre Thierry

Pierre Thierry https://github.com/kephas

This mentor has not added their bio yet.
Fun. Challenging. Interesting

Community-sourced PHP exercises

These are a few of the 65 exercises on the PHP track. You can see all the exercises here.

Run Length Encoding
medium
algorithms
strings
text formatting
Minesweeper
easy
parsing
transforming
Robot Name
easy
classes
randomness
strings
Bracket Push
easy
parsing
strings
Prime Factors
easy
math
Isogram
medium
filtering
strings

Get started with the PHP track. As with everything on Exercism, it's 100% free!

Join the PHP Track