3v4l.org

run code in 300+ PHP versions simultaneously
<?php $total = '-'; $total = number_format($total, 2); echo $total;

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.0130.01018.56
8.3.50.0100.00821.98
8.3.40.0030.01318.63
8.3.30.0120.00818.59
8.3.20.0000.00720.04
8.3.10.0120.00320.55
8.3.00.0080.00020.39
8.2.180.0040.01118.29
8.2.170.0070.00722.96
8.2.160.0100.00322.30
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0060.00620.68
8.2.120.0000.00726.35
8.2.110.0060.00621.18
8.2.100.0080.00317.65
8.2.90.0050.00317.65
8.2.80.0040.00819.36
8.2.70.0080.00017.91
8.2.60.0060.00317.80
8.2.50.0060.00318.10
8.2.40.0070.00020.47
8.2.30.0000.00719.27
8.2.20.0040.00417.60
8.2.10.0000.00717.95
8.2.00.0000.00718.04
8.1.280.0150.00325.92
8.1.270.0030.01423.79
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0080.00321.96
8.1.230.0080.00322.81
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0060.00317.00
8.1.190.0080.00017.00
8.1.180.0000.00818.10
8.1.170.0050.00318.41
8.1.160.0050.00222.08
8.1.150.0080.00018.80
8.1.140.0000.00819.50
8.1.130.0030.00317.62
8.1.120.0000.00717.29
8.1.110.0040.00417.39
8.1.100.0040.00417.21
8.1.90.0040.00417.43
8.1.80.0050.00317.29
8.1.70.0030.00617.38
8.1.60.0040.00417.46
8.1.50.0050.00217.41
8.1.40.0050.00317.50
8.1.30.0040.00417.63
8.1.20.0040.00417.56
8.1.10.0030.00617.54
8.1.00.0030.00617.47
8.0.300.0040.00419.90
8.0.290.0000.00716.63
8.0.280.0070.00018.44
8.0.270.0000.00717.96
8.0.260.0000.00617.18
8.0.250.0060.00016.98
8.0.240.0030.00316.96
8.0.230.0040.00416.87
8.0.220.0030.00316.89
8.0.210.0070.00016.91
8.0.200.0030.00316.96
8.0.190.0000.00816.94
8.0.180.0060.00316.91
8.0.170.0080.00016.93
8.0.160.0000.00816.93
8.0.150.0030.00416.95
8.0.140.0030.00516.80
8.0.130.0000.00513.35
8.0.120.0080.00016.84
8.0.110.0050.00316.85
8.0.100.0030.00516.91
8.0.90.0040.00416.83
8.0.80.0090.00616.89
8.0.70.0040.00416.70
8.0.60.0070.00016.77
8.0.50.0000.00816.84
8.0.30.0070.01216.91
8.0.20.0120.00717.40
8.0.10.0050.00316.99
8.0.00.0140.00516.65
7.4.330.0000.00516.68
7.4.320.0030.00316.53
7.4.300.0000.00616.45
7.4.290.0070.00016.51
7.4.280.0030.00316.51
7.4.270.0040.00416.43
7.4.260.0040.00716.41
7.4.250.0050.00316.40
7.4.240.0040.00416.42
7.4.230.0040.00416.42
7.4.220.0070.01116.53
7.4.210.0060.00816.42
7.4.200.0050.00216.50
7.4.160.0060.00916.50
7.4.150.0090.01217.40
7.4.140.0060.01417.86
7.4.130.0090.00916.33
7.4.120.0110.00616.57
7.4.110.0070.01016.53
7.4.100.0140.00316.41
7.4.90.0080.00816.52
7.4.80.0100.01319.39
7.4.70.0110.00616.38
7.4.60.0060.01116.59
7.4.50.0070.00716.36
7.4.40.0080.00816.36
7.4.30.0070.01016.63
7.4.10.0070.01115.00
7.4.00.0070.01114.74
7.3.330.0030.00313.01
7.3.320.0050.00013.16
7.3.310.0070.00016.08
7.3.300.0000.00716.26
7.3.290.0000.00716.16
7.3.280.0060.01316.17
7.3.270.0080.00917.40
7.3.260.0040.01216.40
7.3.250.0090.00816.34
7.3.240.0140.00416.27
7.3.230.0060.01216.48
7.3.210.0090.01416.38
7.3.200.0150.00316.43
7.3.190.0090.00816.39
7.3.180.0060.00916.28
7.3.170.0140.00316.34
7.3.160.0090.00616.46
7.3.130.0160.00314.67
7.3.120.0110.00214.64
7.3.110.0120.00514.89
7.3.100.0080.00614.62
7.3.90.0040.00714.74
7.3.80.0090.00514.62
7.3.70.0050.00514.69
7.3.60.0110.00314.53
7.3.50.0070.00414.74
7.3.40.0050.00814.43
7.3.30.0050.00714.62
7.3.20.0100.00616.57
7.3.10.0030.00916.52
7.3.00.0040.00816.50
7.2.330.0160.00016.29
7.2.320.0120.00616.43
7.2.310.0050.01216.54
7.2.300.0070.01016.56
7.2.290.0030.01316.49
7.2.260.0030.01114.59
7.2.250.0110.00914.83
7.2.240.0090.00914.96
7.2.230.0080.00414.97
7.2.220.0070.00714.79
7.2.210.0080.00414.73
7.2.200.0020.00914.78
7.2.190.0050.00815.01
7.2.180.0030.00814.86
7.2.170.0030.01114.90
7.2.160.0070.01014.96
7.2.150.0050.00716.85
7.2.140.0040.01116.84
7.2.130.0060.01016.72
7.2.120.0040.00716.69
7.2.110.0050.00816.56
7.2.100.0010.01016.79
7.2.90.0040.00716.90
7.2.80.0080.00616.61
7.2.70.0050.00916.69
7.2.60.0050.01016.86
7.2.50.0050.00916.78
7.2.40.0050.00916.76
7.2.30.0080.00616.76
7.2.20.0070.00716.81
7.2.10.0080.01016.88
7.2.00.0090.00517.42
7.1.330.0070.00715.60
7.1.320.0030.00915.75
7.1.310.0050.00715.72
7.1.300.0040.00615.80
7.1.290.0050.01015.76
7.1.280.0030.00815.77
7.1.270.0050.00815.71
7.1.260.0050.00715.88
7.1.250.0110.00615.65
7.1.240.0060.00615.57
7.1.230.0060.00615.88
7.1.220.0100.00315.96
7.1.210.0060.00615.62
7.1.200.0030.01115.69
7.1.190.0100.00015.93
7.1.180.0040.01115.47
7.1.170.0070.00715.82
7.1.160.0070.00715.62
7.1.150.0030.01315.76
7.1.140.0060.01215.88
7.1.130.0000.01315.87
7.1.120.0040.00415.73
7.1.110.0040.01215.94
7.1.100.0070.01015.86
7.1.90.0030.01315.80
7.1.80.0070.00715.68
7.1.70.0030.00616.36
7.1.60.0050.00716.27
7.1.50.0080.00916.40
7.1.40.0000.01415.57
7.1.30.0040.00815.64
7.1.20.0130.00315.86
7.1.10.0060.00915.66
7.1.00.0040.04119.07
7.0.330.0030.01415.40
7.0.320.0090.00315.18
7.0.310.0060.00315.52
7.0.300.0100.00015.36
7.0.290.0060.00615.35
7.0.280.0000.01115.63
7.0.270.0070.00715.35
7.0.260.0100.00315.33
7.0.250.0040.00815.27
7.0.240.0030.00915.33
7.0.230.0030.01315.32
7.0.220.0070.00315.44
7.0.210.0000.01515.47
7.0.200.0050.00516.09
7.0.190.0110.00315.10
7.0.180.0030.01015.44
7.0.170.0040.00815.49
7.0.160.0080.00415.48
7.0.150.0030.00715.61
7.0.140.0060.00615.48
7.0.130.0030.00715.21
7.0.120.0020.01315.48
7.0.110.0000.01315.44
7.0.100.0020.00715.28
7.0.90.0000.01415.18
7.0.80.0070.00715.38
7.0.70.0060.00615.03
7.0.60.0160.03018.37
7.0.50.0140.04016.76
7.0.40.0030.02616.86
7.0.30.0080.02816.66
7.0.20.0160.03316.72
7.0.10.0070.04516.82
7.0.00.0030.04616.82
5.6.400.0030.00914.34
5.6.390.0070.00714.58
5.6.380.0050.00514.25
5.6.370.0000.01014.03
5.6.360.0040.01114.27
5.6.350.0000.00914.17
5.6.340.0120.00314.20
5.6.330.0070.00713.97
5.6.320.0040.01514.11
5.6.310.0030.01314.17
5.6.300.0040.01114.08
5.6.290.0090.00614.54
5.6.280.0080.03817.77
5.6.270.0040.01114.64
5.6.260.0040.01114.34
5.6.250.0070.00714.19
5.6.240.0100.00614.18
5.6.230.0110.00314.32
5.6.220.0000.00914.36
5.6.210.0050.04617.55
5.6.200.0060.04816.28
5.6.190.0080.04317.42
5.6.180.0210.03617.42
5.6.170.0200.02717.35
5.6.160.0020.03417.36
5.6.150.0000.02716.28
5.6.140.0110.04016.27
5.6.130.0070.04216.19
5.6.120.0050.03217.53
5.6.110.0070.04417.54
5.6.100.0120.04017.50
5.6.90.0140.03817.80
5.6.80.0070.04417.31
5.6.70.0100.00314.22
5.6.60.0030.00913.92
5.6.50.0080.00314.26
5.6.40.0060.00614.07
5.6.30.0060.00914.10
5.6.20.0040.00714.11
5.6.10.0030.01014.07
5.6.00.0040.00814.06
5.5.380.0120.00014.14
5.5.370.0060.00613.98
5.5.360.0040.00414.20
5.5.350.0130.04917.21
5.5.340.0050.04015.87
5.5.330.0090.02517.13
5.5.320.0190.02417.22
5.5.310.0150.04517.19
5.5.300.0030.02916.25
5.5.290.0100.04015.93
5.5.280.0080.04217.58
5.5.270.0100.04117.32
5.5.260.0110.03317.46
5.5.250.0020.02717.47
5.5.240.0150.04117.22
5.5.230.0040.01114.14
5.5.220.0040.00414.19
5.5.210.0080.00313.95
5.5.200.0040.01113.76
5.5.190.0160.00014.46
5.5.180.0000.01414.06
5.5.170.0040.00714.23
5.5.160.0070.00414.21
5.5.150.0060.00613.96
5.5.140.0070.00714.32
5.5.130.0080.00414.34
5.5.120.0100.00314.10
5.5.110.0000.01614.13
5.5.100.0130.00313.83
5.5.90.0000.01414.13
5.5.80.0000.01114.18
5.5.70.0030.01513.95
5.5.60.0030.00914.36
5.5.50.0060.00914.20
5.5.40.0070.00414.26
5.5.30.0050.00814.27
5.5.20.0050.00514.04
5.5.10.0070.00713.95
5.5.00.0040.00813.70

preferences:
69.11 ms | 401 KiB | 5 Q