3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = 1.2345678901234567890; echo $f; ini_set('precision', 50); echo "\n", $f;

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.1.100.0050.00317.28
8.1.90.0000.00817.28
8.1.80.0000.00717.35
8.1.70.0000.00717.41
8.1.60.0080.00317.48
8.1.50.0000.00717.50
8.1.40.0040.00417.34
8.1.30.0040.00417.54
8.1.20.0050.00217.62
8.1.10.0000.00817.50
8.1.00.0090.00017.43
8.0.230.0040.00416.82
8.0.220.0000.00716.73
8.0.210.0030.00316.84
8.0.200.0040.00416.77
8.0.190.0040.00416.75
8.0.180.0000.00816.81
8.0.170.0080.00016.75
8.0.160.0000.00716.79
8.0.150.0070.00016.86
8.0.140.0030.00316.64
8.0.130.0050.00013.14
8.0.120.0070.00416.77
8.0.110.0030.00316.73
8.0.100.0040.00416.71
8.0.90.0000.00816.86
8.0.80.0030.01716.80
8.0.70.0040.00416.79
8.0.60.0000.00716.88
8.0.50.0080.00016.85
8.0.30.0050.01517.33
8.0.20.0160.00917.03
8.0.10.0000.00816.80
8.0.00.0110.01016.75
7.4.300.0030.00316.29
7.4.290.0000.00716.52
7.4.280.0000.00816.44
7.4.270.0030.00316.45
7.4.260.0040.00416.44
7.4.250.0000.00716.30
7.4.240.0030.00316.53
7.4.230.0030.00316.43
7.4.220.0050.00316.39
7.4.210.0100.00616.46
7.4.200.0040.00416.32
7.4.160.0090.00716.55
7.4.140.0120.00617.86
7.4.130.0100.01416.57
7.4.120.0140.00716.25
7.4.110.0030.01416.43
7.4.100.0120.00916.49
7.4.90.0000.01616.32
7.4.80.0130.01019.39
7.4.70.0030.01616.41
7.4.60.0130.00416.38
7.4.50.0040.00816.28
7.4.40.0030.01316.51
7.4.00.0040.01414.93
7.3.330.0030.00313.07
7.3.320.0050.00013.09
7.3.310.0000.00716.08
7.3.300.0040.00416.09
7.3.290.0000.00716.19
7.3.280.0040.01116.12
7.3.260.0100.00716.34
7.3.240.0090.00816.31
7.3.230.0060.01016.26
7.3.210.0000.01716.38
7.3.200.0120.00916.44
7.3.190.0060.01516.45
7.3.180.0060.00916.39
7.3.170.0100.00616.31
7.3.160.0070.01016.13
7.3.120.0160.00314.80
7.3.110.0070.01014.84
7.3.100.0040.00714.49
7.3.90.0080.00414.44
7.3.80.0040.01214.45
7.3.70.0080.00414.94
7.3.60.0060.00914.81
7.3.50.0070.00714.61
7.3.40.0060.00914.62
7.3.30.0040.00714.70
7.3.20.3140.01115.66
7.3.10.2920.00515.63
7.3.00.3430.00715.44
7.2.330.0130.00316.49
7.2.320.0060.01816.39
7.2.310.0060.01016.29
7.2.300.0000.01616.38
7.2.290.0100.00716.59
7.2.250.0060.01215.10
7.2.240.0070.01014.80
7.2.230.0030.01214.64
7.2.220.0030.00615.12
7.2.210.0090.00614.84
7.2.200.0060.00914.83
7.2.190.0060.00914.68
7.2.180.0030.01014.80
7.2.170.0070.00714.84
7.2.160.0090.01114.58
7.2.150.5320.00014.77
7.2.140.5370.01414.86
7.2.130.5850.00714.71
7.2.120.6050.00314.68
7.2.110.6390.00714.59
7.2.100.5500.01014.79
7.2.90.6600.00714.90
7.2.80.6980.00714.98
7.2.70.6680.01314.79
7.2.60.7870.00714.51
7.2.50.7040.00314.53
7.2.40.8070.00714.79
7.2.30.6410.01314.68
7.2.20.6890.00714.80
7.2.10.6650.00314.61
7.2.00.5320.00314.67
7.1.330.0030.01015.67
7.1.320.0000.00915.66
7.1.310.0070.00715.65
7.1.300.0070.00715.47
7.1.290.0000.00815.73
7.1.280.0080.00015.71
7.1.270.3710.00514.75
7.1.260.4050.01114.69
7.1.250.7250.00013.43

preferences:
11.97 ms | 406 KiB | 5 Q