PHP 5 to 7 migration - Numbers comparison : <p>I noticed that code below results in different messages in PHP 5.x and 7:</p>

<pre><code>if ('0xFF' == 255) {
    echo 'Equal';
} else {
    echo 'Not equal';
}
</code></pre>

<ul>
<li>5.x: Equal</li>
<li>7: Not equal</li>
</ul>

<p>Tried to find a description of the changes that cause it in migration guide and in the PHP doc but couldn't find anything. Probably it is somewhere there and I just missed it. Can you, please, point it? Thank you!</p>

<p>Where I looked</p>

<ul>
<li><a href="http://php.net/manual/en/migration70.php" rel="noreferrer">http://php.net/manual/en/migration70.php</a></li>
<li><a href="http://php.net/manual/en/language.types.type-juggling.php" rel="noreferrer">http://php.net/manual/en/language.types.type-juggling.php</a></li>
<li><a href="http://php.net/manual/en/language.operators.comparison.php" rel="noreferrer">http://php.net/manual/en/language.operators.comparison.php</a></li>
</ul>
