<?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:
Exercism is a great website where I was able to have some very interesting challenges.
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.
These are a few of the 66 exercises on the PHP track. You can see all the exercises here.