June 30, 2009

PHP 5.3 released

PHP 5.3 shipped on June 30, 2009 with namespaces, closures, and late static binding — modernizing the language for frameworks.

What it was for

PHPNamespaces (`namespace App\Model`) let SymfonyA PHP framework and component library — enterprise web apps and APIs across Europe., Laravel, and Composer coexist without class name collisions. Closures and `use` imports enabled functional patterns in PHP. PHP 5.3 was the foundation for the framework renaissance of the 2010s.

Why it's here

PHP 5.3 added the language features enterprise PHP frameworks required.

Why it mattered

Namespaces unlocked PSR standards and Composer's package ecosystem.

What it solved

Global class names and weak OOPObject-oriented programming — organizing code around objects that combine data and behavior. primitives made large PHP codebases fragile.

Media

  • PHP
    ImagePHP

    Colin Viebrock, Public domain, via Wikimedia Commons

Related