Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« Two preg_replace Escaping Gotchas
PHP 5.1 is out »

A Glimpse into the Future: PHP 6

November 22nd, 2005

Derick Rethans has posted the notes from the recent PHP 6 meeting in Paris. All I can say is wow! PHP has a bright future. Good job guys.

I’ve also been impressed with the new upgrade notes for 5.1. Good job there, too.

I’ve read over the whole thing and I like what I see. One thing did jump out at me.

We also discussed whether we should even allow Unicode mode to be turned off as current micro benchmarks show that the Unicode implementations of some of the string functions are up to 300% slower, and whole applications up to 25% slower. Disallowing Unicode mode to be turned off is expected to slow down the adoption of PHP 6 too as many ISPs would be reluctant to install a version that immediately slows down the applications of their users.

I am definitely not familiar with all the issues involved, but wouldn’t this make it hard to write general purpose PHP applications? Programs would have to check whether unicode was on or off? Wouldn’t that checking be slow and complicated, too?

I think its great to discuss ways to improve adoption of PHP 6 so far ahead. It looks like APC will be included. I think thats great news on the adoption front.

I wonder, though, if anyone has gone and asked hosting companies what features they might like to see in PHP 6? I also wonder if it would be helpful to have two upgrade guides: one for programmers and one for hosts. Perhaps even a separate Hosting PHP Applications section as part of the PHP manual. (With things like “How do I find out which PHP script sent out this spam?”)

PHP hosting concerns are not always the same as PHP programmer concerns. Hosts are important to the adoption of PHP and throwing them some love can only be a good thing for the platform as a whole.

categories PHP
tags benchmarks, performance-optimization, php-5, php-6, unicode

Related Posts

  • PHP 5.1 is out
  • Upgraded to WordPress 1.5
  • Web Page Loading Performance
  • Code Coverage, Feedback and Open Source
  • Why is PHP Popular?
You can leave a response, or trackback from your own site.

8 Responses to “A Glimpse into the Future: PHP 6”

  1. #1 Paul M. Jones responds...
    November 22nd, 2005 at 6:32 pm

    The bit about a manual for hosters is a fanstastic idea. You’re exactly right about the different natures of the two audiences (programmer vs hoster).

  2. SitePoint Blogs » PHP6 Planning pingbacked on November 23rd, 2005 at 8:17 am
  3. alex’s blog » Blog Archive » PHP 6…. name space please!!! pingbacked on November 23rd, 2005 at 10:34 am
  4. Piku's PHP Blog trackbacked on November 23rd, 2005 at 12:42 pm
  5. #5 andre responds...
    November 23rd, 2005 at 7:13 pm

    what about the previous discussions about doing JIT-compiled PHP in version 6, like using the Parrot virtual machine?

  6. PHP 5.1 is out | Professional PHP pingbacked on November 25th, 2005 at 12:58 pm
  7. #7 Anonymous responds...
    February 17th, 2007 at 3:13 am

    how do u get the php6 compiler

  8. #8 php6 responds...
    December 21st, 2007 at 5:25 am

    Great article. I disagree though with asking the hosting companies what features they want - IMO, they have nothing to do with PHP.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

code: use [code=php][/code].

Comment Preview

  • Search

  • Subscribe

    Subscribe All Posts
    Subscribe All Comments
    Subscribe All Bookmarks
    Subscribe with Bloglines Subscribe with My Yahoo Add to netvibes Subscribe in NewsGator Online Add to Google
  • Share This

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (16)
    • Open Source (14)
    • PHP (95)
    • Software Design (28)
    • Usability (14)
    • WACT (7)
    • Web Design (20)
  • Recent Comments

    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  94
      noujoum, Michiel Van Kets, isorabins [...]
    • Sarah Snow Stever  24
      Dubai Web Design, Development, Snowcore, ennah [...]
    • Benchmarking PHP's Magic Methods  8
      stas, minikperi, Shelon Padmore [...]
    • Keywords and Language Simplicity  7
      olmse, Handy, minikperi [...]
    • Even the Big Guys Get Validation Wrong  4
      James Benson, Michael, Enric Naval [...]
    • Improved Error Messages in PHP 5  12
      James Benson, Iron, baggreeddog [...]
    • How to Transfer Mac OS X Application Data between Computers  36
      Secret Santa, micala, Khaled bin Alwaleed [...]
    • Programming Language Trends via Google  15
      MattW, Jeff Davis, retry [...]
    • PHP Development From Java Architects Eye  10
      Grrkkvho, Bobrila, FelhoBacsi [...]
    • The value of MVC  9
      Euvmetkk, Bobrila, Vulchak [...]
    • nofollow and comment spam  5
      Scopmazo, Qmumqckx, sss [...]
  • Pages

    • Tags
  • Recent Posts

    • php | tek Wrapup
    • php | tek 2008
    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)
    • Keywords and Language Simplicity
    • Improved Error Messages in PHP 5
    • Michigan Taxes Graphic Design Services
    • Ruby versus PHP or There and Back Again
  • Archives

    • 2008: May
    • 2007: Jan Feb Mar Apr May Sep Oct Nov
    • 2006: Jan Feb Mar Apr May Jun Jul Oct Nov Dec
    • 2005: Jan Feb Mar Apr May Sep Oct Nov Dec
    • 2004: Apr May Jun Jul Aug Sep Oct Nov
  • Menu

    • Register
    • Log in