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

Help us explain this better! File a GitHub issue at https://github.com/exercism/php/issues if you have suggestions, or submit a patch with improvements to the https://github.com/exercism/php/blob/master/docs/ABOUT.md file.

Try It!

If you've downloaded the command-line client and have PHP installed on your machine, then go ahead and fetch the first problem.

1
exercism fetch php

In order to be able to submit your solution, you'll need to configure the client with your Exercism API key.

1
exercism configure --key=YOUR_EXERCISM_KEY

When you've written a solution, submit it to the site. You'll have to configure the command-line client with your exercism API key before you can submit.

1
exercism submit PATH_TO_FILE