November 26, 2020

PHP 8.0 released

The PHP project released PHP 8.0 on November 26, 2020 with JITJust-in-time compilation — translating code to machine instructions at runtime instead of ahead of time. compilation, union types, named arguments, and the match expression.

What it was for

PHPPHP 8 modernized the language that still powers WordPressA PHP CMS powering millions of sites — themes, plugins, and the block editor for publishing., WikipediaA free, collaboratively edited encyclopedia on the web — one of the largest reference works ever built., and Laravel apps: JITJust-in-time compilation — translating code to machine instructions at runtime instead of ahead of time. sped hot loops, attributes replaced docblock hacks, and stricter types caught bugs earlier. It was the biggest PHP jump since PHP 7's performance rewrite.

Why it's here

PHP 8 proved the web's most-deployed server language could evolve without abandoning its ecosystem.

Why it mattered

JITJust-in-time compilation — translating code to machine instructions at runtime instead of ahead of time., union types, and match brought PHP closer to modern language expectations.

What it solved

PHP 7.x had plateaued; hosts and frameworks needed a compelling reason to upgrade beyond security patches.

Media

  • PHP
    ImagePHP

    Colin Viebrock, Public domain, via Wikimedia Commons

Related