News Archive
PhpRiot Newsletter
Your Email Address:

More information

The Anatomy Of Equals - Opcode Analysis

Note: This article was originally published at Planet PHP on 18 July 2012.
Planet PHP
I was asked an interesting question via email yesterday.AThe question is fairly simple. The answer, not so much... So, rather than reply in an email, I figured that I'd write a post about it instead. The question, simply stated, is:
When comparing a float to an integer using ==, where does the conversion happen?
So, let's begin...Read more A