3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = 'somestring20charslonghopefully '; print_r($string); echo '<br>'; print_r(trim($string));
Output for 4.3.0 - 7.1.0
somestring20charslonghopefully <br>somestring20charslonghopefully