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 4cbFu
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/IKDF0 on line 2 Notice: A non well formed numeric value encountered in /in/IKDF0 on line 2 int(-4) float(6) Fatal error: Uncaught Error: Call to undefined function int() in /in/IKDF0:4 Stack trace: #0 {main} thrown in /in/IKDF0 on line 4
Process exited with code 255.
Output for 7.0.0 - 7.0.20
int(-4) float(6) Fatal error: Uncaught Error: Call to undefined function int() in /in/IKDF0:4 Stack trace: #0 {main} thrown in /in/IKDF0 on line 4
Process exited with code 255.
Output for 5.3.18 - 5.6.28
int(-4) float(6) Fatal error: Call to undefined function int() in /in/IKDF0 on line 4
Process exited with code 255.