3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 8.2 * 100; var_dump($var); var_dump($var - 820);
Output for 8.0.0 - 8.0.12, 8.1rc1 - rc3
float(819.9999999999999) float(-1.1368683772161603E-13)
Output for 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.25
float(820) float(-1.1368683772162E-13)

preferences:
49.15 ms | 461 KiB | 5 Q