3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sAmount = (string)1999; $dAmount1 = 19.99 * 100; $dAmount2 = (double)(19.99 * 100); var_dump( $sAmount == $dAmount1, $sAmount == $dAmount2 );
Output for 4.3.0 - 7.1.0
bool(false) bool(false)