3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mValue = 0.5432; var_dump((string)((float)$mValue)); var_dump(((float)$mValue).'');
Output for 4.3.0 - 7.2.0
string(6) "0.5432" string(6) "0.5432"