3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('precision', 17); echo "Precision: " . ini_get('precision') . PHP_EOL; echo (1/3) . PHP_EOL; echo (1/3); echo PHP_EOL;

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.4.20.0070.01417.71
8.4.10.0060.00317.60
8.3.150.0130.00717.42
8.3.140.0040.00416.75
8.3.130.0000.00818.35
8.3.120.0090.00919.00
8.3.110.0080.00018.30
8.3.100.0030.00624.06
8.3.90.0080.00026.77
8.3.80.0030.00719.36
8.3.70.0100.01016.50
8.3.60.0220.00016.75
8.3.50.0130.00821.99
8.3.40.0120.00618.85
8.3.30.0030.01218.54
8.3.20.0000.00720.04
8.3.10.0050.00321.60
8.3.00.0060.00319.12
8.2.270.0130.00617.01
8.2.260.0030.01016.48
8.2.250.0040.00418.77
8.2.240.0110.00717.18
8.2.230.0000.00920.94
8.2.220.0030.00637.54
8.2.210.0000.00826.77
8.2.200.0060.00318.88
8.2.190.0070.01417.98
8.2.180.0070.00716.50
8.2.170.0040.01122.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0000.00820.94
8.2.110.0030.00721.98
8.2.100.0120.00317.61
8.2.90.0040.00417.75
8.2.80.0040.00418.79
8.2.70.0000.00817.50
8.2.60.0000.00817.93
8.2.50.0040.00417.55
8.2.40.0100.00019.30
8.2.30.0070.00020.63
8.2.20.0080.00017.60
8.2.10.0000.00817.98
8.2.00.0000.00717.92
8.1.310.0050.00316.69
8.1.300.0090.00015.98
8.1.290.0030.00630.84
8.1.280.0170.00325.92
8.1.270.0040.00423.68
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00323.92
8.1.230.0070.00417.64
8.1.220.0050.00317.74
8.1.210.0000.00918.77
8.1.200.0090.00017.22
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0000.00718.76
8.1.160.0000.00722.03
8.1.150.0000.00718.81
8.1.140.0000.00819.50
8.1.130.0000.00817.54
8.1.120.0040.00417.38
8.1.110.0000.00817.38
8.1.100.0000.00817.36
8.1.90.0030.00517.26
8.1.80.0050.00317.27
8.1.70.0070.00017.42
8.1.60.0070.00017.54
8.1.50.0000.00817.28
8.1.40.0030.00617.45
8.1.30.0080.00017.52
8.1.20.0040.00417.54
8.1.10.0040.00417.37
8.1.00.0080.00317.26
8.0.300.0050.00318.77
8.0.290.0000.00716.63
8.0.280.0030.00318.36
8.0.270.0070.00017.24
8.0.260.0060.00017.16
8.0.250.0070.00016.89
8.0.240.0030.00316.88
8.0.230.0060.00016.74
8.0.220.0000.00816.76
8.0.210.0000.00716.76
8.0.200.0050.00316.84
8.0.190.0030.00316.76
8.0.180.0070.00016.82
8.0.170.0080.00016.85
8.0.160.0040.00416.78
8.0.150.0000.00816.82
8.0.140.0000.00816.65
8.0.130.0030.00313.30
8.0.120.0030.00516.68
8.0.110.0040.00416.63
8.0.100.0000.00716.80
8.0.90.0000.00716.61
8.0.80.0080.00816.79
8.0.70.0030.00516.89
8.0.60.0000.00716.74
8.0.50.0030.00316.55
8.0.30.0050.01216.99
8.0.20.0110.00717.40
8.0.10.0070.00016.95
8.0.00.0060.01416.64
7.4.330.0050.00016.78
7.4.320.0060.00016.28
7.4.300.0000.00616.41
7.4.290.0070.00016.31
7.4.280.0040.00416.46
7.4.270.0030.00316.38
7.4.260.0000.00716.24
7.4.250.0000.00716.40
7.4.240.0010.00616.40
7.4.230.0000.00616.47
7.4.220.0030.01516.48
7.4.210.0080.00716.46
7.4.200.0070.00016.39
7.4.160.0110.00416.30
7.4.150.0100.01317.40
7.4.140.0150.01117.86
7.4.130.0080.01016.33
7.4.120.0140.00716.46
7.4.110.0060.01216.41
7.4.100.0030.01416.53
7.4.90.0140.00416.36
7.4.80.0110.00519.39
7.4.70.0100.00716.30
7.4.60.0120.00316.45
7.4.50.0070.01116.14
7.4.40.0090.00616.34
7.4.30.0160.00616.20
7.4.10.0090.01115.67
7.4.00.0060.01015.36
7.3.330.0050.00013.02
7.3.320.0000.00813.04
7.3.310.0060.00016.24
7.3.300.0070.00016.25
7.3.290.0110.00316.15
7.3.280.0110.00716.17
7.3.270.0070.01017.40
7.3.260.0130.00316.29
7.3.250.0090.00816.30
7.3.240.0140.00616.26
7.3.230.0130.00316.39
7.3.210.0140.00416.58
7.3.200.0120.00416.12
7.3.190.0080.01116.15
7.3.180.0080.00816.42
7.3.170.0060.01616.44
7.3.160.0080.00816.46
7.3.130.0080.00815.38
7.3.120.0110.00715.46
7.3.110.0020.01215.44
7.3.100.0060.00915.35
7.3.90.0080.00615.41
7.3.80.0060.00415.22
7.3.70.0030.01115.34
7.3.60.0110.00515.38
7.3.50.0070.00815.40
7.3.40.0050.01115.54
7.3.30.0070.00615.41
7.3.20.0060.00717.31
7.3.10.0060.00817.17
7.3.00.0070.00717.36
7.2.330.0180.00016.67
7.2.320.0060.01216.38
7.2.310.0090.00916.64
7.2.300.0060.01016.51
7.2.290.0070.01016.18
7.2.260.0050.01515.82
7.2.250.0070.01115.57
7.2.240.0020.01215.79
7.2.230.0060.00615.60
7.2.220.0070.00415.73
7.2.210.0070.00615.84
7.2.200.0070.00715.67
7.2.190.0080.00515.74
7.2.180.0100.00315.64
7.2.170.0040.01015.60
7.2.160.0020.01015.61
7.2.150.0030.00917.59
7.2.140.0040.01117.60
7.2.130.0070.00717.67
7.2.120.0080.00517.62
7.2.110.0050.00917.58
7.2.100.0080.00517.57
7.2.90.0090.00717.68
7.2.80.0060.00917.52
7.2.70.0050.00617.66
7.2.60.0060.00817.24
7.2.50.0030.01217.67
7.2.40.0120.00517.47
7.2.30.0110.00517.65
7.2.20.0050.00717.46
7.2.10.0030.01117.54
7.2.00.0080.00718.06
7.1.330.0070.00716.33
7.1.320.0080.00716.49
7.1.310.0070.00516.51
7.1.300.0030.01116.46
7.1.290.0030.01016.40
7.1.280.0080.00616.54
7.1.270.0020.00916.47
7.1.260.0070.00916.56
7.1.250.0090.00616.61
7.1.240.0080.00416.44
7.1.230.0050.00816.50
7.1.220.0070.00716.40
7.1.210.0060.00716.52
7.1.200.0080.00516.26
7.1.190.0030.01216.52
7.1.180.0050.01016.37
7.1.170.0050.01016.45
7.1.160.0030.01016.44
7.1.150.0020.00916.51
7.1.140.0050.00616.47
7.1.130.0050.00916.46
7.1.120.0050.00816.45
7.1.110.0030.01016.43
7.1.100.0020.01116.96
7.1.90.0030.00616.45
7.1.80.0040.00716.60
7.1.70.0030.00916.63
7.1.60.0030.01117.37
7.1.50.0070.00716.50
7.1.40.0080.00516.46
7.1.30.0080.00816.51
7.1.20.0080.00716.29
7.1.10.0070.00916.46
7.1.00.0050.03018.48
7.0.330.0030.01115.98
7.0.320.0070.00715.87
7.0.310.0020.01216.15
7.0.300.0080.00716.06
7.0.290.0050.00816.21
7.0.280.0100.00416.01
7.0.270.0060.00816.10
7.0.260.0070.00716.15
7.0.250.0080.00516.15
7.0.240.0070.00516.20
7.0.230.0030.00716.15
7.0.220.0030.00816.07
7.0.210.0020.00916.17
7.0.200.0020.00916.32
7.0.190.0020.01116.12
7.0.180.0100.00316.02
7.0.170.0070.00816.13
7.0.160.0060.00816.10
7.0.150.0030.01116.17
7.0.140.0080.00316.07
7.0.130.0060.00516.11
7.0.120.0020.01216.11
7.0.110.0080.00816.10
7.0.100.0050.00716.17
7.0.90.0060.00516.24
7.0.80.0070.02017.36
7.0.70.0180.01517.38
7.0.60.0180.01617.33
7.0.50.0200.01417.53
7.0.40.0010.02516.09
7.0.30.0130.02216.12
7.0.20.0060.01616.06
7.0.10.0070.02716.04
7.0.00.0080.02916.11
5.6.400.0060.00714.94
5.6.390.0100.00215.12
5.6.380.0000.01515.10
5.6.370.0060.00715.01
5.6.360.0030.01315.05
5.6.350.0080.00715.08
5.6.340.0080.00715.14
5.6.330.0050.00714.99
5.6.320.0020.01114.99
5.6.310.0040.00615.10
5.6.300.0090.00515.13
5.6.290.0050.01015.05
5.6.280.0030.02717.04
5.6.270.0060.00614.87
5.6.260.0040.00914.90
5.6.250.0050.01214.95
5.6.240.0060.00714.89
5.6.230.0060.02016.93
5.6.220.0010.02216.83
5.6.210.0060.03116.82
5.6.200.0070.03217.07
5.6.190.0080.02617.09
5.6.180.0030.02116.96
5.6.170.0060.03516.98
5.6.160.0050.03517.11
5.6.150.0050.03517.05
5.6.140.0050.02516.93
5.6.130.0060.03916.96
5.6.120.0090.02716.94
5.6.110.0100.02716.98
5.6.100.0080.03016.95
5.6.90.0030.03717.09
5.6.80.0060.03416.67
5.6.70.0060.02916.68
5.6.60.0070.03216.75
5.6.50.0030.03116.84
5.6.40.0070.02116.68
5.6.30.0060.02516.68
5.6.20.0090.02916.83
5.6.10.0060.03016.68
5.6.00.0060.03016.66
5.5.380.0070.01015.03
5.5.370.0070.02016.79
5.5.360.0060.03016.94
5.5.350.0070.02316.68
5.5.340.0050.01916.78
5.5.330.0140.02116.93
5.5.320.0040.01916.84
5.5.310.0060.01616.95
5.5.300.0040.02016.90
5.5.290.0040.03316.88
5.5.280.0040.03016.84
5.5.270.0070.03316.93
5.5.260.0040.02016.77
5.5.250.0020.03316.74
5.5.240.0080.02516.60
5.5.230.0040.02016.49
5.5.220.0020.03616.54
5.5.210.0150.01516.68
5.5.200.0060.02416.61
5.5.190.0090.01916.45
5.5.180.0050.02516.48
5.5.170.0030.00814.99
5.5.160.0110.02016.52
5.5.150.0050.02016.62
5.5.140.0100.02316.63
5.5.130.0080.02816.49
5.5.120.0100.03016.61
5.5.110.0050.02716.52
5.5.100.0090.02716.53
5.5.90.0070.01816.63
5.5.80.0090.02716.51
5.5.70.0080.03016.58
5.5.60.0070.02716.56
5.5.50.0100.02816.57
5.5.40.0060.02916.67
5.5.30.0070.03016.68
5.5.20.0060.02916.56
5.5.10.0050.02616.38
5.5.00.0050.03116.43
5.4.450.0030.08019.37
5.4.440.0030.07319.27
5.4.430.0030.04019.13
5.4.420.0070.03719.46
5.4.410.0030.06019.14
5.4.400.0030.06718.97
5.4.390.0000.04719.13
5.4.380.0070.07318.78
5.4.370.0030.08319.03
5.4.360.0130.05319.03
5.4.350.0030.04719.07
5.4.340.0130.04718.81
5.4.320.0100.07319.09
5.4.310.0130.06318.96
5.4.300.0000.06719.23
5.4.290.0100.04719.14
5.4.280.0070.08319.09
5.4.270.0030.08019.12
5.4.260.0030.04718.98
5.4.250.0100.04019.14
5.4.240.0170.06018.82
5.4.230.0070.07019.14
5.4.220.0130.05319.04
5.4.210.0070.05719.14
5.4.200.0170.06718.80
5.4.190.0170.06719.07
5.4.180.0100.07318.95
5.4.170.0070.06319.04
5.4.160.0130.07318.80
5.4.150.0100.07719.20
5.4.140.0030.08016.26
5.4.130.0170.04316.28
5.4.120.0170.06716.35
5.4.110.0030.06716.36
5.4.100.0100.07316.44
5.4.90.0070.07016.21
5.4.80.0030.06716.36
5.4.70.0100.04316.29
5.4.60.0100.06716.38
5.4.50.0100.07316.39
5.4.40.0070.07016.27
5.4.30.0000.08316.23
5.4.20.0030.06316.41
5.4.10.0100.06716.32
5.4.00.0030.06715.80
5.3.290.0070.08014.52
5.3.280.0070.07014.57
5.3.270.0070.07314.59
5.3.260.0100.06314.58
5.3.250.0030.06314.54
5.3.240.0000.08014.59
5.3.230.0170.06314.59
5.3.220.0130.06714.39
5.3.210.0100.07014.38
5.3.200.0070.07314.52
5.3.190.0100.08714.55
5.3.180.0070.08014.52
5.3.170.0100.06714.41
5.3.160.0030.08314.41
5.3.150.0070.07314.54
5.3.140.0030.08314.52
5.3.130.0070.05014.45
5.3.120.0070.07314.55
5.3.110.0130.07314.55
5.3.100.0030.05013.99
5.3.90.0070.05713.85
5.3.80.0070.07014.02
5.3.70.0000.07013.97
5.3.60.0130.06713.99
5.3.50.0100.06713.79
5.3.40.0000.06013.94
5.3.30.0070.07313.66
5.3.20.0030.06713.57
5.3.10.0130.03313.57
5.3.00.0030.07013.59
5.2.170.0070.05713.57
5.2.160.0100.05713.57
5.2.150.0030.03713.57
5.2.140.0100.03013.57
5.2.130.0070.05013.57
5.2.120.0170.05013.57
5.2.110.0100.05713.57
5.2.100.0070.05313.57
5.2.90.0030.06013.57
5.2.80.0030.03013.57
5.2.70.0000.03313.57
5.2.60.0030.06013.57
5.2.50.0100.05313.57
5.2.40.0070.05013.57
5.2.30.0070.03713.57
5.2.20.0030.04013.57
5.2.10.0000.05713.57
5.2.00.0100.04713.57
5.1.60.0000.03713.57
5.1.50.0070.03713.57
5.1.40.0100.04713.57
5.1.30.0030.04713.57
5.1.20.0070.04313.57
5.1.10.0000.06013.57
5.1.00.0070.03713.57
5.0.50.0000.04713.57
5.0.40.0000.02313.57
5.0.30.0070.06313.57
5.0.20.0030.02013.57
5.0.10.0070.03713.57
5.0.00.0030.05013.57
4.4.90.0000.01713.57
4.4.80.0030.03313.57
4.4.70.0030.02713.57
4.4.60.0030.03013.57
4.4.50.0030.01713.57
4.4.40.0070.05013.57
4.4.30.0000.03713.57
4.4.20.0070.02713.57
4.4.10.0030.02313.57
4.4.00.0070.04313.57
4.3.110.0000.03313.57
4.3.100.0000.02013.57
4.3.90.0030.01313.57
4.3.80.0000.04313.57
4.3.70.0030.03313.57
4.3.60.0030.03313.57
4.3.50.0030.03713.57
4.3.40.0030.03313.57
4.3.30.0000.02013.57
4.3.20.0000.03713.57
4.3.10.0000.03713.57
4.3.00.0000.03713.57

preferences:
31.6 ms | 403 KiB | 5 Q