3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(1.); var_dump(.1); var_dump(1...1);
Output for 4.3.0 - 7.4.0rc4
float(1) float(0.1) string(4) "10.1"