🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉

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

22 Mentors

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

14,035 Students

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

66 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

Exercism is a great website

Exercism is a great website where I was able to have some very interesting challenges.

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 Fabian Becker

Fabian Becker https://github.com/sawmurai

I have been developing in PHP since version 3 and made all the mistakes you can make, so you don't have to! Apart from software engineering I love powerlifting and movies.
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 Nadeem Shabir

Nadeem Shabir https://github.com/kiyanwang

Polyglot developer, loves programming, constantly learning!
Avatar of Owais Ali

Owais Ali My Profile

I am a Computer Science graduate and Software Engineer who loves to write software to build great products which help businesses, communities and individuals succeed with their goals.
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 Gabriel Guzman

Gabriel Guzman https://github.com/gabeguz

PHP was the first language I worked in professionally. I've built high traffic websites with it, and find it fun to work with.
Fun. Challenging. Interesting

Community-sourced PHP exercises

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

Difference Of Squares
easy
integers
math
Nucleotide Count
easy
dictionaries
strings
Hamming
easy
filtering
strings
Trinary
easy
math
Matching Brackets
easy
parsing
strings
Prime Factors
easy
math

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

Join the PHP Track