3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dot = '3.96'; $comma = '3,96'; $space = '3 096'; $muiltidot = '3.96.5'; var_dump( floatval($dot), floatval($comma), floatval($space), floatval($multidot) );
based on jniUI
Output for 5.0.4 - 5.6.28, 7.1.0
Notice: Undefined variable: multidot in /in/PUBu1 on line 12 float(3.96) float(3) float(3) float(0)
Output for 7.0.0 - 7.0.14
Notice: Undefined variable: multidot in /in/PUBu1 on line 8 float(3.96) float(3) float(3) float(0)
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: multidot in /in/PUBu1 on line 12 float(3.96) float(3) float(3) float(0)