Archive for December 25th, 2007

SitePoint PHP Blog: Lexical scope to appear in PHP?

<>
In this new post to the SitePoint PHP blog, Troels Knak-Nielsen talks about some of the advancements (and diagreements) that have happened around adding lexical scope to the create_function functionality.

The main argument against approving the patch, seems to be, that one would expect static scoping rules to apply to the anonymous function. After all, this is the case in similar languages, which support anonymous functions. One could only assume, that changing PHP to support this, would be a major undertaking.

One would be wrong, it seems.

A patch has been made to add the functionality (from Christian Seller) adding a new keyword, lexical, to make it all work.

Continue Reading · Add comment

ProPHP Podcast: Newscast for Dec 12th, 2007

The Pro::PHP Podcast has released their latest episode - the Newscast for December 20th, 2007.

Topics mentioned include:

To grab this latest show you can either subscribe to their feed or you can just get the latest show via a direct mp3 download.

Continue Reading · Add comment

Community News: Latest PECL Releases for 12.25.2007

Latest PECL Releases: