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=""> <code> <em> <i> <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 Subscribe with Google feed reader
  • Share This

  • Categories (Home)

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

    • PHP Coding Standards  6
      3123, Jack Johnson, Ignatius [...]
    • Expert and Novice Programmers  13
      Ben W, flj, chris web developer [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  83
      e-okul, Luis Oscar Cruz, xentek [...]
    • How to Transfer Mac OS X Application Data between Computers  34
      Khaled bin Alwaleed, Oscar, TeeJay [...]
    • Sarah Snow Stever  23
      Snowcore, ennah, Philippine Website Developers [...]
    • PHP Development From Java Architects Eye  9
      Bobrila, FelhoBacsi, Angsuman Chakraborty [...]
    • Improved Error Messages in PHP 5  9
      ennah, Khumaer, retry [...]
    • The value of MVC  7
      Vulchak, อะไหล่แอร์, Derek Scruggs [...]
    • Why PHP is easier to learn than Java  13
      , , WTF [...]
    • goto in PHP  38
      Goldilocks, , SFM [...]
    • Keywords and Language Simplicity  6
      Handy, minikperi, PHP Encoder [...]
  • Pages

    • Tags
  • Recent Posts

    • 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
    • Mighty Mouse Kryptonite and Exceeding Expectations
    • reCAPTCHA - Combining Distributed Problem Solving with a Web Service
  • Archives

    • 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
    • Login