3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $new = "foo\r\n"; preg_match('#\r?\n#', $new, $m) ? $m[0] : PHP_EOL;
Output for 4.3.0 - 7.1.0