PHP 5.3 alpha 1 released

I’m admittedly a bit lateĀ (a month)Ā to the news , butĀ PHP 5.3 alpha 1 has been released. I’m lucky to have stumbled on the news, because I haven’t followed PHP’s release schedule at all lately, but the 5.3 release is particularly exciting – PHP finally has support for proper lambda closures – now it’s a realĀ language ;)

New features below, and release notes here:

  1. NamespacesĀ (documentation maybe out dated)
  2. Late static bindingĀ andĀ __callStatic
  3. Lambda functions and closuresĀ Ā [Ed. – finally!]
  4. Addition of theĀ intl,Ā pharĀ (phar is scheduled for some more work a head of alpha2),Ā fileinfoĀ andĀ sqlite3Ā extensions
  5. Optional cyclic garbage collection
  6. Optional support for theĀ MySQLndĀ replacement driver for libmysql
  7. Windows older than Windows 2000 (Windows 98, NT4, etc.) are not supported anymore (details)
  8. New syntax features likeĀ NOWDOC, limited GOTO, ternary short cut ā€œ?:ā€

Also exciting: significantly better internationalization support, and a PHP archive format – the .phar. The combo of namespaces and the addition of .phar support should allow for much better organization of libraries and applications. I’d love to upgrade WordPress by uploading a single .phar file instead of the hoopla you have to go through now.