The pragmatic language the web runs on.
Fast, flexible and grounded. After 30 years PHP has never been more modern, typed, and pleasant to write.
Supported releases
Stay current, stay secure
Modern by default
Typed, expressive, and readable out of the box.
Readonly properties, named arguments, enums, and property hooks. The PHP you write today looks nothing like 2004 — and runs dramatically faster.
<?php
final class Money
{
public function __construct(
public readonly int $amount,
public readonly string $currency = 'USD',
) {}
// property hook — computed, read-only
public string $display {
get => number_format($this->amount / 100, 2)
. " {$this->currency}";
}
}
$price = new Money(amount: 4_999);
echo $price->display; // 49.99 USD
Built to be found
Documentation you can actually navigate.
The manual is PHP's superpower. We rebuilt search and organization around the way developers really look things up.
Instant search
Reference, organized
Real, copyable examples
Latest news
All announcementsPHP 8.6.0 Beta 3 is available for testing
The PHP team is pleased to announce the third beta release of PHP 8.6.0, Beta 3. This continues the PHP 8.6 release cycle, the rough outline of which...
PHPBenelux Conference 2027, Antwerp Belgium
The PHPBenelux Conference is back and now it's your turn to take the stage! Whether you're a developer, architect, engineering lead, DevOps engineer,...
PHP Conference Ehime 2026
PHP Conference Ehime will be held for the first time on October 3, 2026 (JST), at Ehime University Johoku Campus in Matsuyama City, Ehime Prefecture,...
The PHP Foundation
PHP is built in the open, funded by people who depend on it.
The Foundation employs core developers to keep the language healthy for the next decade. Join the companies and individuals supporting the work.