3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $faults = "03/07/2014 06:52:51 Equipment Type \n 03/07/2014 06:03:02 Equipment Type \n 03/07/2014 03:42:41 Equipment Type \n"; $temp = explode("\r\n", $faults); foreach ($temp as $fault) { echo $fault, "<br />"; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
03/07/2014 06:52:51 Equipment Type 03/07/2014 06:03:02 Equipment Type 03/07/2014 03:42:41 Equipment Type <br />