3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo var_dump((float)"0.5");

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0060.00916.38
8.3.50.0070.01419.98
8.3.40.0100.01019.96
8.3.30.0120.00318.71
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.180.0150.00625.92
8.2.170.0000.01518.84
8.2.160.0140.00022.96
8.2.150.0070.00025.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0050.00321.13
8.2.110.0030.00620.37
8.2.100.0030.00620.52
8.1.280.0130.00725.92
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00618.89
8.1.230.0070.00318.49
8.0.140.0010.00716.67

preferences:
39.67 ms | 400 KiB | 5 Q