3v4l.org

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