3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = 'somestring20charslonghopefully '; var_dump($string); var_dump(trim($string));
Output for 4.3.0 - 7.1.0
string(33) "somestring20charslonghopefully " string(30) "somestring20charslonghopefully"