3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump('6,90' - '10,4'); var_dump(round('6,90')); var_dump((int) '6,90');
based on IKDF0
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/ircEE on line 2 Notice: A non well formed numeric value encountered in /in/ircEE on line 2 int(-4) float(6) int(6)
Output for 5.3.18 - 7.0.20
int(-4) float(6) int(6)