3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'abcd123ABCD00-4000'; $signature = base64_encode(hash_hmac("sha256", $s)); print $signature;

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.0030.01016.38
8.3.50.0050.01221.88
8.3.40.0090.00618.70
8.3.30.0070.00719.09
8.3.20.0000.00720.29
8.3.10.0050.00323.66
8.3.00.0060.00319.50
8.2.180.0170.00318.54
8.2.170.0080.00822.96
8.2.160.0100.00320.52
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00422.13
8.2.110.0100.00022.25
8.2.100.0040.00817.72
8.2.90.0030.00519.11
8.2.80.0040.00417.97
8.2.70.0090.00017.50
8.2.60.0040.00417.92
8.2.50.0030.00518.07
8.2.40.0030.00519.82
8.2.30.0050.00319.68
8.2.20.0040.00417.66
8.2.10.0000.00817.92
8.2.00.0070.00017.73
8.1.280.0070.01325.92
8.1.270.0080.00023.87
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0060.00323.92
8.1.230.0030.00918.98
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0090.00017.13
8.1.190.0000.00817.35
8.1.180.0030.00618.10
8.1.170.0040.00418.59
8.1.160.0020.00521.94
8.1.150.0080.00018.48
8.1.140.0070.00017.42
8.1.130.0030.00317.83
8.1.120.0040.00417.39
8.1.110.0000.00717.40
8.1.100.0000.00717.40
8.1.90.0040.00417.40
8.1.80.0000.00717.37
8.1.70.0000.00617.32
8.1.60.0050.00317.42
8.1.50.0040.00417.39
8.1.40.0040.00417.36
8.1.30.0040.00417.51
8.1.20.0000.00717.64
8.1.10.0000.00717.48
8.1.00.0040.00417.47
8.0.300.0040.00420.79
8.0.290.0000.00717.05
8.0.280.0030.00318.42
8.0.270.0000.00717.20
8.0.260.0030.00317.19
8.0.250.0030.00316.97
8.0.240.0030.00316.79
8.0.230.0000.00716.98
8.0.220.0000.00716.77
8.0.210.0000.00716.87
8.0.200.0030.00316.91
8.0.190.0040.00416.99
8.0.180.0040.00416.88
8.0.170.0080.00016.77
8.0.160.0000.00716.83
8.0.150.0000.00716.78
8.0.140.0040.00416.84
8.0.130.0000.00513.29
8.0.120.0050.00316.84
8.0.110.0050.00216.86
8.0.100.0000.00716.78
8.0.90.0000.00716.91
8.0.80.0000.01616.87
8.0.70.0040.00416.91
8.0.60.0050.00316.93
8.0.50.0040.00416.91
8.0.30.0120.00616.95
8.0.20.0110.00817.40
8.0.10.0040.00416.88
8.0.00.0100.00816.72
7.4.330.0000.00515.00
7.4.320.0050.00216.59
7.4.300.0060.00016.44
7.4.290.0040.00416.46
7.4.280.0070.00016.43
7.4.270.0040.00416.36
7.4.260.0070.00016.43
7.4.250.0000.01016.41
7.4.240.0050.00216.46
7.4.230.0030.00316.53
7.4.220.0160.00416.64
7.4.210.0060.01016.44
7.4.200.0020.00516.55
7.4.190.0000.00816.66
7.4.160.0070.01016.45
7.4.150.0120.00617.40
7.4.140.0110.01017.86
7.4.130.0080.01116.62
7.4.120.0110.00616.37
7.4.110.0090.01216.58
7.4.100.0090.00916.51
7.4.90.0110.00716.42
7.4.80.0160.00419.39
7.4.70.0110.01116.48
7.4.60.0030.01416.48
7.4.50.0060.00316.40
7.4.40.0090.00816.38
7.4.30.0060.01016.59
7.4.00.0050.01314.78
7.3.330.0070.00013.11
7.3.320.0030.00313.11
7.3.310.0000.00716.22
7.3.300.0000.00716.19
7.3.290.0070.00716.22
7.3.280.0080.01016.28
7.3.270.0130.00317.40
7.3.260.0130.00316.63
7.3.250.0120.00516.34
7.3.240.0120.00616.42
7.3.230.0030.01316.42
7.3.210.0030.01316.36
7.3.200.0060.01519.39
7.3.190.0140.00616.49
7.3.180.0060.00916.41
7.3.170.0090.00616.27
7.3.160.0040.01116.50
7.3.120.0060.01114.71
7.3.110.0110.00414.54
7.3.100.0090.00614.52
7.3.90.0030.00914.78
7.3.80.0060.00614.73
7.3.70.0030.01314.68
7.3.60.0030.00914.70
7.3.50.0000.00914.84
7.3.40.0120.00414.84
7.3.30.0180.00014.92
7.3.20.0060.01116.75
7.3.10.0070.01116.52
7.3.00.0100.00716.61
7.2.330.0090.01316.68
7.2.320.0160.00016.46
7.2.310.0070.01016.43
7.2.300.0060.00916.63
7.2.290.0160.00616.46
7.2.250.0030.01414.86
7.2.240.0030.01614.84
7.2.230.0120.00414.64
7.2.220.0090.00614.93
7.2.210.0040.00814.80
7.2.200.0090.00615.09
7.2.190.0060.00614.75
7.2.180.0030.01014.82
7.2.170.0070.00414.96
7.2.60.0030.00816.64
7.1.330.0070.00715.81
7.1.320.0070.00715.74
7.1.310.0000.01315.88
7.1.300.0040.01115.77
7.1.290.0040.00816.01
7.1.280.0060.00615.79
7.1.270.0120.00315.96
7.1.260.0070.00715.68
7.1.200.0040.01115.66
7.1.70.0030.00617.10
7.1.60.0100.01419.46
7.1.50.0080.01216.57
7.1.00.0030.07322.44
7.0.200.0140.00016.73
7.0.140.0000.07021.95
7.0.60.0030.04019.86
7.0.50.0070.05717.78
7.0.40.0030.04719.90
7.0.30.0330.06020.20
7.0.20.0400.07020.18
7.0.10.0030.06020.16
7.0.00.0030.07020.04
5.6.280.0030.07321.11
5.6.210.0100.07320.74
5.6.200.0170.04718.22
5.6.190.0100.06320.46
5.6.180.0400.05020.43
5.6.170.0200.04020.56
5.6.160.0000.04320.42
5.6.150.0170.07318.12
5.6.140.0100.08018.17
5.6.130.0070.04018.16
5.6.120.0000.06320.89
5.6.110.0000.06020.97
5.6.100.0030.06321.02
5.6.90.0030.06021.02
5.6.80.0170.06320.34
5.5.350.4300.03720.41
5.5.340.0100.05318.02
5.5.330.0100.07720.57
5.5.320.0200.04020.29
5.5.310.0470.06720.17
5.5.300.0100.03317.91
5.5.290.0000.04718.01
5.5.280.0030.07020.89
5.5.270.0100.08020.95
5.5.260.0100.05020.60
5.5.250.0030.08720.61
5.5.240.0070.08020.34
5.4.450.0200.06719.48
5.4.440.0170.06719.49
5.4.430.0130.05319.13
5.4.420.0200.05719.58
5.4.410.0170.05019.41
5.4.400.0170.05019.26
5.4.390.0070.06318.81
5.4.380.0170.05318.53
5.4.370.0100.05318.68
5.4.360.0130.05018.74
5.4.350.0130.05318.69
5.4.340.0230.04718.69
5.4.320.0060.04412.45
5.4.310.0110.05512.45
5.4.300.0050.03812.45
5.4.290.0110.04812.43
5.4.280.0100.04612.33
5.4.270.0180.03512.33
5.4.260.0150.04812.33
5.4.250.0170.05912.33
5.4.240.0090.04912.33
5.4.230.0210.09512.32
5.4.220.0220.11912.32
5.4.210.0140.09412.32
5.4.200.0240.08912.32
5.4.190.0320.09912.32
5.4.180.0130.06512.32
5.4.170.0100.07112.33
5.4.160.0250.12512.33
5.4.150.0110.07712.32
5.4.140.0140.06712.00
5.4.130.0170.07211.99
5.4.120.0100.06211.95
5.4.110.0140.07111.95
5.4.100.0150.06311.95
5.4.90.0180.07911.95
5.4.80.0160.05811.95
5.4.70.0160.05211.94
5.4.60.0120.05011.95
5.4.50.0210.07311.95
5.4.40.0110.06411.93
5.4.30.0130.05611.93
5.4.20.0110.05511.93
5.4.10.0140.05411.93
5.4.00.0100.05411.42
5.3.290.0070.04112.80
5.3.280.0190.07512.71
5.3.270.0130.07012.72
5.3.260.0150.05712.72
5.3.250.0090.06312.71
5.3.240.0120.05712.72
5.3.230.0070.07912.71
5.3.220.0080.06512.68
5.3.210.0100.05912.68
5.3.200.0170.07212.68
5.3.190.0160.11112.68
5.3.180.0140.07612.67
5.3.170.0140.06112.67
5.3.160.0280.11112.67
5.3.150.0190.12112.67
5.3.140.0180.07412.66
5.3.130.0220.08412.66
5.3.120.0170.10812.66
5.3.110.0320.09612.66
5.3.100.0100.05712.12
5.3.90.0200.07612.08
5.3.80.0120.04612.08
5.3.70.0130.05112.07
5.3.60.0180.06912.06
5.3.50.0070.06812.00
5.3.40.0080.04212.00
5.3.30.0060.04511.94
5.3.20.0110.04711.72
5.3.10.0170.04911.69
5.3.00.0060.04811.67
5.2.170.0050.0339.18
5.2.160.0060.0319.18
5.2.150.0130.0399.18
5.2.140.0120.0379.17
5.2.130.0080.0329.14
5.2.120.0060.0299.13
5.2.110.0080.0289.14
5.2.100.0070.0289.13
5.2.90.0040.0339.14
5.2.80.0060.0469.13
5.2.70.0070.0409.13
5.2.60.0090.0399.09
5.2.50.0140.0539.05
5.2.40.0130.0669.03
5.2.30.0110.0619.00
5.2.20.0280.0778.99
5.2.10.0150.0458.91
5.2.00.0120.0668.77
5.1.60.0150.0748.06
5.1.50.0110.0618.06
5.1.40.0150.0368.04
5.1.30.0100.0428.39
5.1.20.0090.0548.41
5.1.10.0120.0418.14
5.1.00.0020.0618.14
5.0.50.0130.0536.62
5.0.40.0060.0376.48
5.0.30.0040.0476.29
5.0.20.0050.0256.26
5.0.10.0150.0486.24
5.0.00.0060.0586.23
4.4.90.0090.0284.78
4.4.80.0030.0234.76
4.4.70.0060.0254.75
4.4.60.0080.0314.75
4.4.50.0100.0364.77
4.4.40.0080.0434.71
4.4.30.0020.0284.76
4.4.20.0030.0194.84
4.4.10.0020.0224.85
4.4.00.0110.0234.76
4.3.110.0060.0294.67
4.3.100.0040.0214.66
4.3.90.0040.0144.64
4.3.80.0020.0264.59
4.3.70.0050.0134.63
4.3.60.0030.0164.63
4.3.50.0000.0254.63
4.3.40.0100.0294.53
4.3.30.0040.0233.28
4.3.20.0110.0363.25
4.3.10.0130.0323.22
4.3.00.0030.0207.55

preferences:
49.39 ms | 401 KiB | 5 Q