3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sValue = '50'; echo trim($sValue, ' \t\n\r\x0B')."\n"; $sValue = 50; echo trim($sValue, ' \t\n\r\x0B')."\n"; $sValue = 50.0; echo trim($sValue, ' \t\n\r\x0B')."\n";
based on EGGni
Output for 4.3.0 - 7.1.0
5 5 5