3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 0x0A; echo "\n"; echo "0x0A"; echo "\n"; if (0x0A == '0x0A') { var_dump(0x0A,'0x0A'); } if (0x0A == "0x0A") { var_dump(0x0A,"0x0A");; }
Output for 7.0.0 - 7.1.0
10 0x0A
Output for 4.3.0 - 5.6.28
10 0x0A int(10) string(4) "0x0A" int(10) string(4) "0x0A"