Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« A Glimpse into the Future: PHP 6
PHP Framework Consolidation? »

PHP 5.1 is out

November 25th, 2005

PHP 5.1.0 is out. There is alot of good stuff in this release and it is a major milestone. May PHP 5.1.2 be as successful as PHP 4.1.2.

I say 5.1.2 because it looks like there are is going to be at least one, possibly two bug fix releases to follow. There is a bit of a kerfuffle about the introduction of a date class into PHP 5.1rc6, which conflicts with the current PEAR date class. Unfortunately, the naming conflict is not (yet) documented in the upgrade notes which I praised in my PHP 6 post just a couple of days ago.

Ok, so reserving common class names in the release candidate just before the release, during a major holiday week (in the US at least) is probably a mistake. I don’t disagree with PHP reserving the Date class. Honestly, anyone using that name should half expect it. However, I don’t think anyone likes surprises, especially late in a release cycle. But, people are not machines and sometimes mistakes are made. (To use another cliche, sometimes sausage making is not pretty.)

After the Reference compatibility thing I thought there was supposed to be a process in place to catch surprises like this. What happened?

Some people are pointing to this naming conflict as evidence of the dire need for namespace support in PHP. Fair enough.

So in this case the process for detecting backward compatibility breaks relied on a large group of people testing their applications through a rapid succession of release candidates. Since I agree with the rapid succession of release candidates, I have to see the weak part of the process as relying on people to test stuff. After all, people aren’t machines.

However, machines ARE machines and automated compatibility testing could have caught this. I have a corpus of PHP code with automated tests that I could donate to a BC testing lab. I’m sure other people do. I can’t necessarily download a new release candidate and run it every other day, but I could package my code up and send it someplace to be run. Where can I send it?

(Yeah, I know calling for BC testing lab without volunteering to run it is the open source equivalent of the unfunded mandate. But hey, its my blog and I’ll suggest, complain or critique if I want to. :) )

One last thing, don’t let a few minor issues overshadow the good hard work that went into this release.

Filed Under

  • PHP

Related Posts

  • No related posts
You can leave a response, or trackback from your own site.

7 Responses to “PHP 5.1 is out”

  1. Peter Mescalchin says:
    11/28/2005 at 4:32 pm

    Well you were close – its PHP 5.1.1 :)

    Exactly 0.0.1 off the mark.

  2. cuba3 says:
    1/25/2006 at 5:15 am

    thanks, i’ll upgrade soon!

  3. alex says:
    4/12/2007 at 12:05 am

    hi nice site.

  4. Joey says:
    4/12/2007 at 6:51 am

    mlm+lead++%3Ca+href%3D+http%3A%2F%2Fmlm%2Dlead.weblogs.pl%2F+%3E+b

  5. lksmth says:
    5/1/2009 at 10:46 am

    yeah! grate site..you have latest information.I have link for php web development.its used also different kind of latest technology.

  6. WEBMASTER999777 says:
    5/31/2009 at 5:53 am

    Good Night webmaster!
    Only for professional webmastersexclusivepartnerku, all without cheating money list on the second day after reaching the limit, the result is 100%, there are bonuses to 120,000 dollars, register for free-http://germanfriendfinder.com/go/g1111998-brk
    P.S love planet-there is everything! Germanfriendfinder: nothing lost …
    All the while

  7. Ned Progl says:
    1/10/2012 at 5:11 am

    Really interesting post. I enjoyed reading it. At the same time, I feel strongly about it and love learning more on this topic. Thank you very much for the useful and detailed article. Will be coming back soon. Thank you!

Leave a Reply

Click here to cancel 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

    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (18)
    • Open Source (14)
    • PHP (99)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • Writing an XPath expression evaluator  7
      JDM Cars, Alva Sisk, teeth falling out dream [...]
    • PHP Games  63
      Furniture Manufacturers, Jason Pierre-Paul Jersey, Voncile Grizzel [...]
    • PDO versus MDB2  31
      Morton Deliso, Marquis Valakas, Beatriz Elifritz [...]
    • Why PHP is easier to learn than Java  48
      Betty Wager, Orville Kotrys, Esperanza Mcpeck [...]
    • Friendster wrapup: does MySQL scale  29
      Clemente Michaux, Kandra Noriego, Earl Skowronski [...]
    • Enterprise PHP  42
      Hoyt Origer, atomboygame, Luna Cerny [...]
    • Comparing PHP with other languages  38
      polštinap?eklad, polštinap?eklad, php developer [...]
    • Looking Towards the Cloud  65
      spin, Serina Doshier, Graciela Guisinger [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  241
      Rory Teich, Lady Gaga, Tommy Staude [...]
    • Richard Thomas  27
      Hedwig Larcher, Carlos Cherenfant, Kurt Vagliardo [...]
  • Recent Posts

    • Richard Thomas
    • ZendCon: Writing Maintainable PHP Code
    • Looking Towards the Cloud
    • Holiday Tech Support
    • Closures are coming to PHP
    • php | tek Wrapup
    • php | tek 2008
    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
  • Site

    • Archives
    • Log in
  • Search