I was strolling around a bookstore today, Easons on O'Connell Street here in Dublin, when I found myself staring at a bookshelf in near shock. Kid, I thought, you've been out of the loop for only two months and somehow those crazy people have managed to release PHP 6 right under your nose! I took several deep breaths not quite sure how to
react. I moved closer and pulled out the shiny red book published by Wrox titled "Professional PHP 6" and prepared to kick myself silly for the next week learning PHP6 (not from the book, which while shiny is of little use to someone using PHP so often it's hardwired into your brain).
The more I stared at the three youthful faces grinning at me from the cover, the more I convinced myself this was a publishing error. No way was PHP6 going to be released without me noticing. Google Reader would have been on fire with that news. So what the hell was I looking at?
I was apparently looking at a big fat lie.
PHP6 has been the long standing grail for PHP developers who whisper in corners about its major feature: Unicode! Unicode makes the planet revolve, well its literary parts anyhow... Out on the edges were numerous other features, but most of those have been rolled into PHP 5.3 - which should be released next Tuesday. PHP 5.3...next Tuesday.
And here we have books titled PHP6...what a joke. PHP6 won't see so much as an alpha release for months...could even be years for all I know. It will be ready when it's ready.
My biggest question of course was how can publishers escape punishment for such obvious silliness? Maybe someone can explain it in the comments because I'm at a loss. I figured there was some justification in that PHP6 would undoubtedly support some backwards compatibility with PHP 5, and therefore you could learn a great deal of PHP 6,
simply by learning PHP 5. After all, both are PHP. Or perhaps it's all the disclaimers technical books can include to escape responsibility if the information in the book is wrong. This might be sufficient to get around the laws of any number of countries, like Ireland, but I don't consider it honesty. In my opinion it's blatantly obvious
that the PHP6 references used in book titles are little more than an attempt to differentiate these books from their competitors and earlier editions. Enough to fool a lot of consumers that buying the PHP6 book must be better than buying the perfectly up to date PHP5 book sitting in the bargain bin or available secondhand from Amazon. We are
in a recession afterall and who banked on PHP 5.3 dropping a bombshell on plans for PHP6 books to spark a buying spree from developers?
Now, even I admit my outrage can be exaggerated. So I did go and pick up a few sample books using PHP6 in their title out of curiousity. Flicking through the pages I quickly noted how many of them avoided the PHP6 topic like the plague by omitting obvious things you'd expect to see. Unfortunately I also found a few notable slips which had me
in stitches. Installation instructions and version listings are the most telling
The Wrox Programmer To Programmer series includes the far fetched title "Beginning PHP6, Apache, MySQL Web Development" (Timothy Boronczyk, Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass). The installation instructions for Linux state:
6. Extract the tarball, and change to the directory it creates:
tar -vxzf php-6.0.0.tar.gz
cd php-6.0.0
Number 3 earlier on the same list states:
3. Scroll down to the Complete Source Code section, and click on the appropriate link to download
the latest tar.gz package.
Perhaps someone didn't notice that the download here (as of today) according to php.net is PHP 5.2.10? Not PHP 6.0.0.
Earlier the same book states:
The most recent stable versions that were in effect at the time of this book's writing were:
PHP: Version 6.0.0
Apache: Version 2.2.9
MySQL: Version 5.0.67
Future editions of this book will address changes and improvements in these programs as they become
available.
Again, the non-existent PHP 6.0.0 makes an appearance clearly noted as being a "stable version". Of course, this is complete bollocks. The rest of the book seems pretty clearcut. It doesn't mention PHP 6 anywhere else except in two Chapter titles according to its index. PHP 5.3 is mentioned once in a brief description of namespaces.
Everything else is PHP...drumroll...5. This book teaches you PHP5 and only PHP5. Look on the bright side - the Wrox website and Amazon page suggests the title should have included MySQL 6... All they needed was the equally mystical appearance of Apache 6 to get the conspiracy theorists worked up into a fever pouring through the Book Of Rev
Truncated by Planet PHP, read more at the original (another 1324 bytes)