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.

categories PHP
tags compatibility-testing, PHP, php-namespaces, php-references

Related Posts

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

6 Responses to “PHP 5.1 is out”

  1. #1 Peter Mescalchin responds...
    November 28th, 2005 at 4:32 pm

    Well you were close - its PHP 5.1.1 :)

    Exactly 0.0.1 off the mark.

  2. #2 cuba3 responds...
    January 25th, 2006 at 5:15 am

    thanks, i’ll upgrade soon!

  3. #3 alex responds...
    April 12th, 2007 at 12:05 am

    hi nice site.

  4. #4 Joey responds...
    April 12th, 2007 at 6:51 am

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

  5. #5 Anal Master responds...
    September 18th, 2008 at 2:57 am

    http://sex4you.awardspace.com
    HI!

  6. #6 Pochka responds...
    October 5th, 2008 at 12:46 am

    Hello! It’s just ubeliavable INCREDIBLE porno videos collection! ??????! ????? ?????????? ???????? ????????? ????? ????? ???????! ? ??? ???????? ? ??????????!!!

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

    • How to Transfer Mac OS X Application Data between Computers  38
      help, please?, Toby, Secret Santa [...]
    • The Problem with Markup Languages  10
      Wayne Whitty, Aaron Saray, Jack Teese [...]
    • Firefox Extensions for Web Developers  16
      lawyers2, Markus, Mitch [...]
    • PHP 5.1 is out  6
      Pochka, Anal Master, Joey [...]
    • Why is PHP Popular?  24
      downgams.ru, naruzhkas.ru, cablingworks.ru [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  104
      Iman, irisv, Massimo [...]
    • PHP Development From Java Architects Eye  10
      ebezutyzuba, Bobrila, FelhoBacsi [...]
    • The Legality of Republishing RSS Feeds  16
      Andrew, Matt, Mandi [...]
    • nofollow and comment spam  4
      Tanya, sss, Nataly Marshak [...]
    • The PHP scalability saga continues  6
      uswipyq, 网上购物, Harry Fuecks [...]
    • php | tek 2008  4
      , Saumava, NatureLimit [...]
  • 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