3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $rate1 = 0.02; $level1 = number_format(1260,2); var_dump($rate1 * $level1);
Output for 7.1.0 - 7.3.0rc3
Notice: A non well formed numeric value encountered in /in/F5832 on line 8 float(0.02)
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.0.20
float(0.02)