PHP: Hypertext Preprocessor is a server-side scripting language designed for Web development, but also used as a general-purpose programming language. It was originally created by Rasmus Lerdorf in 1994, the PHP reference implementation is now produced by The PHP Group.
class Person { public $firstName; public $lastName; public function __construct($firstName, $lastName = '') { // optional second argument $this->firstName = $firstName; $this->lastName = $lastName; }