Early insights into PHP6

Published November 23rd, 2005

Spotted this post on Christian Stocker’s blog, which led me to this fascinating document — minutes of a meeting between various PHP heavyweights to discuss some of the proposed changes that might make it into PHP6. Of course it’s all a long way off but it gives an interesting insight into the thought processes of those who are responsible for the development of the language.

There’s a lot about Unicode of course, since Unicode support is a large part of PHP6’s raison d’être, but there’s plenty more besides. There’s predictable stuff like the dropping (at last!) of register globals, safe mode and magic quotes. There’s also some new functionality, like a sort of extended isset; a form of goto(!) and, possibly, support for namespaces. A further interesting addition will be the inclusion of an opcode cache, APC, in PHP (although it won’t be enabled by default). A free speed boost for your PHP scripts has to be a good thing!

I was disappointed to see that there are no plans to convert PHP errors to exceptions — I hate the way errors are handled in PHP and would, personally, like to see them all handled as exceptions. *sigh*

It’ll be a long time before we’ll see PHP6 of course and no doubt there will be many changes before then. And it’ll be even longer before many hosts actually support it — PHP5 has been around for nearly 18 months now, and still very few hosts support it (my own host, the otherwise excellent A Small Orange, is waiting for PHP5.1 — *sigh* again!). But an interesting read, nonetheless.

Get a Trackback link

1 Trackbacks/Pingbacks

  1. Trackback: jB: no - that's definitely not good enough on November 23, 2005

2 Comments

  1. PHP6 on July 21, 2006

    Do you have php6 ?

  2. Stickman on July 21, 2006

    No, I don’t — it’s a long way from being finished yet. However if you’re interested in looking at how it’s going so far, check out PHP’s daily snapshots page. And be sure to keep an eye on the PHP Internals mailing list for new developments.

Leave a comment

Comment Policy: First time comments are moderated. Please be patient.

OpenID

Anonymous