3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = " 164,90 2,00 1,23 164,80 164,90 165,10 163,20 240804321 "; $result = trim($str); var_dump($result);
Output for 4.3.0 - 7.1.0
string(65) "164,90 2,00 1,23 164,80 164,90 165,10 163,20 240804321"