3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = "- jedna\n- dva\n- tri"; echo $text; echo(preg_replace('/\n\s*-\s*/m', '', $text));
Output for 4.3.0 - 7.2.0
- jedna - dva - tri- jednadvatri