3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $txt = "sadigasidrasdy \r\n asibdasudas \r\n"; echo trim(preg_replace('/\r\n/','\r\n\t',strip_tags(html_entity_decode($txt))));
Output for 4.3.0 - 7.1.0
sadigasidrasdy \r\n\t asibdasudas \r\n\t