3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = '$305.19'; $b = '305.19'; var_dump($a + 50); var_dump($b + 50);
Output for 7.1.0
Warning: A non-numeric value encountered in /in/P9MEj on line 6 int(50) float(355.19)
Output for 4.3.0 - 7.0.14
int(50) float(355.19)