Blog Post RSS ?

Blogs » PHP » Keeping Current With PHP
 

Keeping Current With PHP

by Troels Knak-Nielsen

Just a quick hint to people with an interest in the development of PHP, but no time for following php-internals. Since March, there has been a wiki at wiki.php.net. The most interesting section is probably wiki.php.net/rfc, which - as the name implies - contains RFC’s for improvements of the language. I’ve rambled on about closures and lambdas before, but as you can see, there is now an accepted patch. Whether it’ll make it into 5.3 is unlikely at this point, but it looks like it’ll at least be coming with 5.4 and/or 6.0.

While we’re at it, Steph Fox have dutifully been writing up summaries of php-internals discussions on a weekly basis since the beginning of time. If you just want to get the headlines, it’s an informative read.

Have a nice summer.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Ping.fm
  • TwitThis

This post has 5 responses so far

  1. Closures are actually in PHP 5.3 at this time:

    Mekkie:closure mathieu$ php t.php
    109-97-116-104-105-101-117-

     
  2. Closures is now accepted into 5.3, but its not considered a key feature, so it might still be dropped in case we run into bigger issues,

     
  3. Closures/lambda patch was committed already to PHP_5_3 branch. So it will be in PHP5.3.0: date:

    2008/07/14 09:48:59; author: dmitry; state: Exp; lines: +329 -0
    Added support for lambda functions and closures

     
  4. Thanks for the update on that; Great to see them coming in 5.3, since it could take a while before we get to 5.4.

     
  5. Closures are already in PHP 5.3 and I will never let them go again ;)
    Just try the example code:
    http://wiki.php.net/rfc/closures

     

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Follow us on Twitter