3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $code = "0\r1\r\n2\n3"; //var_dump($code); $code = str_replace("\r\n", "\n", $code); var_dump(bin2hex($code));
based on kBMhp
Output for 4.3.0 - 7.2.0
string(14) "300d310a320a33"