3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fAmount = 52.64; $fAmount = (float)$fAmount * (-1); var_dump($fAmount);
based on dYr5M
Output for 4.3.0 - 7.2.0
float(-52.64)