3v4l.org

run code in 150+ 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.1.0
bool(false) int(2)
Output for 4.3.0 - 5.6.28, hhvm-3.12.0
bool(true) int(2)
Output for hhvm-3.10.0

Process exited with code 153.