3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = '0xFF'; $y = 255; var_dump($x == $y); $z = array($x => 0, $y => 1); var_dump(count($z));
Output for 7.0.0 - 7.3.1
bool(false) int(2)
Output for 4.3.0 - 5.6.28
bool(true) int(2)