3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(base64_encode(hash_hmac('sha1', 'foo', 'bar', true)));

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.0070.01416.50
8.3.50.0120.00318.18
8.3.40.0080.00818.59
8.3.30.0110.00718.46
8.3.20.0080.00018.29
8.3.10.0050.00321.60
8.3.00.0070.00017.78
8.2.180.0190.00316.32
8.2.170.0080.00622.96
8.2.160.0090.00919.09
8.2.150.0110.00724.18
8.2.140.0050.00324.66
8.2.130.0050.00520.94
8.2.120.0070.00326.35
8.2.110.0060.00320.48
8.2.100.0090.00317.80
8.2.90.0030.00518.95
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0030.00617.90
8.2.50.0040.00418.10
8.2.40.0080.00022.00
8.2.30.0040.00419.11
8.2.20.0000.00717.60
8.2.10.0030.00317.93
8.2.00.0000.00717.98
8.1.280.0180.00425.92
8.1.270.0030.00623.93
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0060.00617.23
8.1.230.0070.00719.42
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00617.10
8.1.190.0040.00416.98
8.1.180.0040.00418.10
8.1.170.0040.00418.78
8.1.160.0080.00018.99
8.1.150.0070.00018.74
8.1.140.0040.00419.37
8.1.130.0000.00717.59
8.1.120.0070.00017.28
8.1.110.0000.00717.31
8.1.100.0070.00017.22
8.1.90.0040.00417.37
8.1.80.0040.00417.24
8.1.70.0030.00317.30
8.1.60.0030.00517.41
8.1.50.0030.00617.34
8.1.40.0030.00617.39
8.1.30.0080.00017.34
8.1.20.0000.00717.50
8.1.10.0040.00417.27
8.1.00.0030.00517.27
8.0.300.0040.00418.77
8.0.290.0050.00316.58
8.0.280.0070.00018.33
8.0.270.0000.00817.15
8.0.260.0000.00617.06
8.0.250.0030.00316.68
8.0.240.0070.00016.71
8.0.230.0030.00316.80
8.0.220.0000.00816.74
8.0.210.0040.00416.64
8.0.200.0000.00716.83
8.0.190.0000.00716.64
8.0.180.0050.00316.74
8.0.170.0070.00016.68
8.0.160.0040.00416.69
8.0.150.0040.00416.59
8.0.140.0070.00316.61
8.0.130.0030.00613.03
8.0.120.0050.00216.76
8.0.110.0000.00816.72
8.0.100.0000.00716.75
8.0.90.0030.00316.82
8.0.80.0030.01316.82
8.0.70.0040.00416.77
8.0.60.0000.00816.58
8.0.50.0040.00416.79
8.0.30.0060.01316.89
8.0.20.0060.01617.40
8.0.10.0030.00616.79
8.0.00.0100.01116.60
7.4.330.0050.00015.08
7.4.320.0030.00316.37
7.4.300.0000.00616.47
7.4.290.0030.00316.46
7.4.280.0070.00416.36
7.4.270.0030.00316.36
7.4.260.0030.00316.35
7.4.250.0030.00316.23
7.4.240.0030.00316.47
7.4.230.0070.00016.27
7.4.220.0100.00716.55
7.4.210.0070.01016.56
7.4.200.0040.00416.25
7.4.160.0060.01616.32
7.4.150.0090.00917.40
7.4.140.0100.00717.86
7.4.130.0050.01216.47
7.4.120.0110.00616.29
7.4.110.0000.01616.41
7.4.100.0080.01216.38
7.4.90.0310.02616.31
7.4.80.0060.01119.39
7.4.70.0060.01316.21
7.4.60.0030.01416.48
7.4.50.0040.01116.39
7.4.40.0060.01016.43
7.4.30.0070.01016.36
7.4.00.0070.00714.85
7.3.330.0040.00412.91
7.3.320.0000.00612.89
7.3.310.0000.00715.97
7.3.300.0040.00416.15
7.3.290.0110.00516.12
7.3.280.0120.00416.17
7.3.270.0160.01017.40
7.3.260.0040.01316.50
7.3.250.0100.00816.10
7.3.240.0140.00516.26
7.3.230.0080.00816.39
7.3.210.0070.01116.24
7.3.200.0090.01216.30
7.3.190.0060.01616.23
7.3.180.0100.00716.17
7.3.170.0100.00716.30
7.3.160.0000.01616.34
7.3.120.0080.00914.55
7.3.110.0090.00714.82
7.3.100.0100.00714.52
7.3.90.0030.00914.51
7.3.80.0000.01014.79
7.3.70.0070.00514.43
7.3.60.0020.01014.56
7.3.50.0100.00514.78
7.3.40.0080.00514.51
7.3.30.0020.01014.49
7.3.20.0020.01116.55
7.3.10.0070.00716.49
7.3.00.0040.01016.46
7.2.330.0080.00816.55
7.2.320.0070.01616.43
7.2.310.0100.01316.50
7.2.300.0130.00316.27
7.2.290.0180.00616.48
7.2.250.0060.01214.75
7.2.240.0060.01114.82
7.2.230.0090.00614.71
7.2.220.0090.00914.83
7.2.210.0070.00814.82
7.2.200.0070.00814.76
7.2.190.0050.01214.71
7.2.180.0030.01114.74
7.2.170.0070.00414.70
7.2.160.0030.01114.80
7.2.150.0070.00716.72
7.2.140.0050.01016.67
7.2.130.0020.00816.59
7.2.120.0070.01016.63
7.2.110.0070.00816.50
7.2.100.0060.00916.65
7.2.90.0040.00916.61
7.2.80.0070.00716.76
7.2.70.0050.00816.72
7.2.60.0040.01016.73
7.2.50.0040.00716.66
7.2.40.0040.01116.55
7.2.30.0020.01516.73
7.2.20.0090.00716.60
7.2.10.0080.00816.65
7.2.00.0050.01017.38
7.1.330.0100.00715.43
7.1.320.0070.00715.76
7.1.310.0060.00715.71
7.1.300.0080.00615.70
7.1.290.0110.00415.60
7.1.280.0070.00815.72
7.1.270.0050.00815.55
7.1.260.0020.01415.44
7.1.250.0080.00415.59
7.1.240.0030.00615.67
7.1.230.0090.00615.66
7.1.220.0090.00615.30
7.1.210.0040.00415.53
7.1.200.0030.00815.62
7.1.190.0000.00815.58
7.1.180.0040.00415.31
7.1.170.0100.00315.56
7.1.160.0070.00715.53
7.1.150.0000.01115.52
7.1.140.0040.01515.56
7.1.130.0060.00915.55
7.1.120.0110.00415.66
7.1.110.0030.01015.35
7.1.100.0040.01116.69
7.1.90.0090.00615.67
7.1.80.0060.00615.71
7.1.70.0040.00716.33
7.1.60.0070.01417.41
7.1.50.0060.01215.57
7.1.40.0070.01015.44
7.1.30.0030.00715.43
7.1.20.0100.00015.72
7.1.10.0030.01015.54
7.1.00.0060.04219.05
7.0.330.0100.00315.23
7.0.320.0060.00614.95
7.0.310.0110.00415.36
7.0.300.0000.01015.07
7.0.290.0070.00715.13
7.0.280.0070.00715.23
7.0.270.0000.01515.45
7.0.260.0000.01314.68
7.0.250.0000.01715.47
7.0.240.0100.00614.98
7.0.230.0100.00315.13
7.0.220.0060.00615.22
7.0.210.0000.01415.39
7.0.200.0150.00714.91
7.0.190.0100.00615.29
7.0.180.0030.01315.38
7.0.170.0040.01215.09
7.0.160.0090.00315.20
7.0.150.0040.00715.38
7.0.140.0040.01015.23
7.0.130.0040.01115.05
7.0.120.0090.00315.14
7.0.110.0060.00915.27
7.0.100.0030.01015.16
7.0.90.0000.01415.28
7.0.80.0030.01015.26
7.0.70.0100.00015.07
7.0.60.0050.04318.36
7.0.50.0120.03017.88
7.0.40.0160.03016.80
7.0.30.0110.04416.75
7.0.20.0180.02516.77
7.0.10.0180.02716.82
7.0.00.0220.03016.85
5.6.400.0100.00314.29
5.6.390.0150.00014.24
5.6.380.0000.00913.89
5.6.370.0100.00714.23
5.6.360.0070.00714.29
5.6.350.0040.00813.93
5.6.340.0110.00314.23
5.6.330.0060.00913.87
5.6.320.0060.01014.10
5.6.310.0070.00713.96
5.6.300.0130.00313.98
5.6.290.0070.01013.88
5.6.280.0060.03917.48
5.6.270.0100.00613.97
5.6.260.0120.00314.34
5.6.250.0040.01514.22
5.6.240.0040.01414.08
5.6.230.0040.00814.24
5.6.220.0070.00714.04
5.6.210.0140.03717.34
5.6.200.0130.03317.54
5.6.190.0180.02517.52
5.6.180.0130.03917.43
5.6.170.0120.03017.72
5.6.160.0170.03217.64
5.6.150.0180.03817.55
5.6.140.0170.03917.51
5.6.130.0110.04017.64
5.6.120.0070.04017.59
5.6.110.0100.03317.62
5.6.100.0130.03217.53
5.6.90.0130.04217.44
5.6.80.0100.03317.18
5.6.70.0130.03017.09
5.6.60.0200.02517.23
5.6.50.0160.03017.17
5.6.40.0170.02817.07
5.6.30.0100.03517.19
5.6.20.0070.03217.16
5.6.10.0100.03317.21
5.6.00.0150.03917.12
5.5.380.0110.00713.97
5.5.370.0080.00413.98
5.5.360.0040.01114.34
5.5.350.2170.02817.27
5.5.340.0170.02817.43
5.5.330.0090.03317.49
5.5.320.0140.03517.41
5.5.310.0180.02617.22
5.5.300.0080.04317.36
5.5.290.0150.03617.30
5.5.280.0100.03317.40
5.5.270.0170.03017.51
5.5.260.0160.03317.38
5.5.250.0170.03217.48
5.5.240.0130.03017.04
5.5.230.0130.04016.90
5.5.220.0150.02816.97
5.5.210.0120.02917.07
5.5.200.0140.02917.12
5.5.190.0130.03017.11
5.5.180.0070.03916.95
5.5.170.0030.00913.84
5.5.160.0100.03117.05
5.5.150.0130.02817.09
5.5.140.0130.03217.09
5.5.130.0100.03317.05
5.5.120.0120.02917.07
5.5.110.0130.03117.19
5.5.100.0080.03517.03
5.5.90.0100.03217.00
5.5.80.0130.03316.97
5.5.70.0120.03417.08
5.5.60.0160.03017.03
5.5.50.0180.02817.03
5.5.40.0200.03316.98
5.5.30.0210.02816.99
5.5.20.0170.03416.96
5.5.10.0250.02616.88
5.5.00.0190.03416.70

preferences:
81.36 ms | 401 KiB | 5 Q