3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump((int) '0xFF'); var_dump((string) 255); var_dump('0xFF' == 255);
Output for 7.0.0 - 7.1.0
int(0) string(3) "255" bool(false)
Output for 4.3.0 - 5.6.28
int(0) string(3) "255" bool(true)