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

20 Mentors

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

6,850 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

What I like about it is that I am able to solve the challenges in a TDD way working in a environment that I am familiar (my own PC not a browser IDE) and the cherry on the top of the cake is that I have access to code reviews.

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 Andi Rückauer

Andi Rückauer Personal Blog

Passionate about PHP and clean code. Work professionally with PHP and contribute to OSS projects whenever I can. Sharing my knowledge with others is a great learning experience for myself.
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 Luke Carrier

Luke Carrier https://github.com/LukeCarrier

SRE at an edtech company. I want the world to see Modern PHP isn't the slouch it used to be. Currently exploring Rust.
Avatar of David Stockton

David Stockton https://github.com/dstockto

I've been writing PHP since 1997 and have been programming for over 30 years. I really love the improvements that have been made to PHP, especially since 7.0. I enjoy mentoring and helping developers improve and learn new skills.
Avatar of Roman Glushko

Roman Glushko LinkedIn

@magento Software Developer and Contributor at @Atwix, E-commerce, Data science newbie
Avatar of Subhojit Paul

Subhojit Paul Personal Site

I have been writing applications in PHP since 2012. I like to learn software engineering principles, and implement them in PHP - or any other programming language.
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.

Collatz Conjecture
easy
algorithms
control flow conditionals
control flow loops
integers
math
Roman Numerals
medium
control flow loops
transforming
Transpose
easy
arrays
lists
loops
matrices
strings
text formatting
Crypto Square
easy
misc
Binary
easy
math
Triangle
easy
enumerations
integers

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

Join the PHP Track