Octopussy numbers in PHP

Original post provide by PHP Everywhere - By John Lim

Someone reported a bug in ADOdb, the open source db library i maintain. I went crazy for half an hour until i realised the problem. Here’s a little gotcha you can try:

echo 09," => (09) <br>";
echo 9," => (9) <br>";

If you expect the above code to produce the same values, you are sadly mistaken. Try it. Also see the followup.

Previous Articles:
Details Of Cyber Storm War Games Released
Among other things, the organizers are worried about having too many people on the 'No Fly' list show up at an airport, finding 'mystery liquids' in the subway, and having bloggers reveal the classified location of railcars with hazardous materials.
Microsoft Launches IT Superhero Comic
'Tech workers who in the middle of the night fix a downed server or take on a computer virus don't really have extraordinary powers. It just seems that way. But a new comic book has debuted in which IT pros literally are superheroes.
How Pervasive Is ISP Outbound Email Filtering?
I was aware of forced inbox filtering that has caused problems and been abused by other ISPs in China and in the US. I've also read about forced use of ISP SMTP and outbound throttling, but did not know they outbound filtered as well.
LAN Turns 30, May Not See 40?
'I know that sounds nasty, but for 10 years I had to put up with that crap from the IBM Token Ring people — you bet I'm bitter.' Besides dipping into networking nostalgia, the article also quotes an analyst who says the LAN may be nearing its demise and predicts that all machines will be individually connected to one huge WAN at gigabit speeds.
The Great Microkernel Debate Continues
Virtually all of these postings have come from people who don't have a clue what a microkernel is or what one can do. I think it would raise the level of discussion if people making such postings would first try a microkernel-based operating system and then make postings like "I tried an OS based on a microkernel and I observed X, Y, and Z first hand." Has a lot more credibility.'"Read more of this story at Slashdot.
More Articles:
Flex 3, AIR, BlazeDS: Less Than One Moon
Unless your Flex 2 project has to go to production this month, switch to Flex 3. Now. Flex 3 final Beta days are almost over and it brings you lots of goodies. If you are still thinking of using AJAX or JSF for your data intensive business application, just stop it, will you!
XML Class
Package: XML Class Summary: Parse XML documents and retrieved named elements Groups: XML Author: Mustafa Berkan BICER Description: This is a simple class that can be used to parse XML documents. It can parse a XML document file using the DOM Document class and extracts all the nodes with a given name.
Sitemap Creator For Google, Yahoo And MSN
Package: Sitemap creator for Google, Yahoo and MSN Summary: Generate a site map from lists of site files Groups: Content management, PHP 5, XML Author: Anil Gupta Description: This class can be used generate site map from lists of site files.
Google's Summer Of Code Headed Down Under
But as the timing clashed with winter term time in the southern hemisphere, it's been tough for local students to participate. Stopping short of confirming the program, Hawthorn said Google is looking into finding the human resources - as opposed to the financial resources - to make it happen."Read more of this story at Slashdot.
Site News: Popular Posts For The Week Of 02.01.2008
Popular posts from PHPDeveloper.org for the past week:Sebastian Bergmann's Blog: Support for the Cancel Case Workflow PatternCommunity News: The PDO v2 ProposalSite News: Popular Posts for the Week of 01.25.2008ProPHP Podcast: PHP Newscast for 2008/01/24Developer Tutorials Blog: Why you should be using YAML for configJob Posting: InvestorGuide.com Seeks Web Developer (Fairfax, VA)PierreAlain Joye's Blog: Debugging symfony (or any php script) with vim and XdebugCIO.com: You Used PHP to Write WHAT?!Demian Turner's Blog: Seagull 0.6.4 Release (fixes Security Isse from 0.6.3)Developer Tutorials Blog: PHP Qualifications: The Good, The Bad and The Ugly

Leave a Reply