3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'abcd123ABCD00-4000'; $signature = base64_encode(hash("sha256", $s, True)); print base64_encode($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.0100.00716.63
8.3.50.0130.00621.97
8.3.40.0110.01118.84
8.3.30.0170.00318.97
8.3.20.0040.00420.22
8.3.10.0050.00321.72
8.3.00.0030.00619.38
8.2.180.0210.00018.41
8.2.170.0090.00618.70
8.2.160.0070.00722.96
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00422.03
8.2.110.0000.01020.38
8.2.100.0110.00017.51
8.2.90.0000.00919.26
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0050.00317.87
8.2.50.0000.00818.07
8.2.40.0040.00419.82
8.2.30.0000.00719.85
8.2.20.0070.00017.68
8.2.10.0000.00717.93
8.2.00.0050.00217.65
8.1.280.0000.01725.92
8.1.270.0040.00423.95
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0040.00822.06
8.1.230.0080.00422.82
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0030.00617.25
8.1.190.0070.00417.10
8.1.180.0000.00919.01
8.1.170.0080.00018.57
8.1.160.0080.00021.94
8.1.150.0080.00418.57
8.1.140.0000.00717.38
8.1.130.0000.00717.82
8.1.120.0080.00017.41
8.1.110.0050.00317.28
8.1.100.0070.00017.39
8.1.90.0000.00817.45
8.1.80.0030.00517.28
8.1.70.0000.00717.36
8.1.60.0030.00517.50
8.1.50.0000.00817.33
8.1.40.0040.00417.35
8.1.30.0000.00817.64
8.1.20.0080.00017.55
8.1.10.0040.00417.43
8.1.00.0070.00017.45
8.0.300.0040.00420.81
8.0.290.0040.00417.05
8.0.280.0000.00718.44
8.0.270.0050.00317.09
8.0.260.0000.00617.11
8.0.250.0070.00016.94
8.0.240.0000.00616.99
8.0.230.0030.00316.91
8.0.220.0070.00016.79
8.0.210.0070.00016.77
8.0.200.0070.00016.71
8.0.190.0040.00416.78
8.0.180.0040.00416.85
8.0.170.0000.00816.88
8.0.160.0070.00016.76
8.0.150.0040.00416.78
8.0.140.0040.00416.68
8.0.130.0000.00613.21
8.0.120.0000.00816.79
8.0.110.0040.00416.79
8.0.100.0050.00216.81
8.0.90.0040.00416.82
8.0.80.0070.01016.75
8.0.70.0030.00416.82
8.0.60.0040.00416.88
8.0.50.0000.00816.90
8.0.30.0140.00417.31
8.0.20.0080.01117.40
8.0.10.0040.00416.74
8.0.00.0090.01316.67
7.4.330.0000.00515.09
7.4.320.0030.00516.51
7.4.300.0030.00316.45
7.4.290.0000.00716.47
7.4.280.0000.00916.52
7.4.270.0040.00416.36
7.4.260.0050.00216.42
7.4.250.0000.00816.48
7.4.240.0030.00316.48
7.4.230.0000.00716.32
7.4.220.0080.00816.63
7.4.210.0070.00716.52
7.4.200.0000.00716.32
7.4.190.0040.00416.63
7.4.160.0100.00716.57
7.4.150.0080.01217.40
7.4.140.0060.01417.86
7.4.130.0140.00316.51
7.4.120.0050.01216.37
7.4.110.0130.00416.22
7.4.100.0120.00616.59
7.4.90.0060.01116.45
7.4.80.0100.00819.39
7.4.70.0170.00016.53
7.4.60.0040.01216.35
7.4.50.0000.00916.26
7.4.40.0100.00616.29
7.4.30.0090.00616.47
7.4.00.0060.01014.69
7.3.330.0030.00312.98
7.3.320.0050.00012.88
7.3.310.0040.00416.20
7.3.300.0060.00016.01
7.3.290.0060.01316.13
7.3.280.0080.01016.13
7.3.270.0080.01417.40
7.3.260.0070.01316.39
7.3.250.0110.00816.30
7.3.240.0100.00716.35
7.3.230.0040.01316.39
7.3.210.0110.00716.26
7.3.200.0130.00919.39
7.3.190.0120.00816.11
7.3.180.0120.00316.25
7.3.170.0130.00316.33
7.3.160.0060.01016.06
7.3.120.0120.00314.73
7.2.330.0140.00616.61
7.2.320.0060.01016.43
7.2.310.0160.00016.41
7.2.300.0100.01316.39
7.2.290.0030.01416.73
7.2.60.0000.01516.91
7.2.00.0000.01319.27
7.1.200.0000.01115.41
7.1.100.0030.00918.02
7.1.70.0030.00616.94
7.1.60.0130.01019.46
7.1.50.0090.01316.96
7.1.00.0070.07322.40
7.0.200.0000.01016.89
7.0.140.0000.07722.07
7.0.60.0030.08019.90
7.0.50.0100.08017.75
7.0.40.0100.08320.40
7.0.30.0330.06720.09
7.0.20.0230.04020.22
7.0.10.0070.06720.09
7.0.00.0000.08020.16
5.6.280.0070.07021.07
5.6.210.0000.05320.54
5.6.200.0070.04018.19
5.6.190.0000.04320.32
5.6.180.0230.07020.63
5.6.170.0270.07020.50
5.6.160.0070.08320.50
5.6.150.0070.04018.15
5.6.140.0030.04318.21
5.6.130.0100.08018.18
5.6.120.0070.09021.11
5.6.110.0070.05320.98
5.6.100.0130.07720.97
5.6.90.0170.06021.07
5.6.80.0070.08020.40
5.5.350.0300.07320.40
5.5.340.0100.04017.97
5.5.330.0170.07320.14
5.5.320.0170.08320.34
5.5.310.0400.04320.16
5.5.300.0100.05018.01
5.5.290.0130.07717.98
5.5.280.0130.06020.93
5.5.270.0130.08020.82
5.5.260.0030.05320.76
5.5.250.0030.08720.69
5.5.240.0170.06720.14
5.4.450.0200.05019.45
5.4.440.0330.04019.43
5.4.430.0100.06319.44
5.4.420.0170.05719.63
5.4.410.0200.05019.47
5.4.400.0200.04719.00
5.4.390.0230.04719.22
5.4.380.0130.07018.74
5.4.370.0200.04718.52
5.4.360.0100.05318.63
5.4.350.0130.05318.65
5.4.340.0230.04018.72
5.4.320.0090.04012.45
5.4.310.0080.03612.45
5.4.300.0040.03912.45
5.4.290.0060.03912.43
5.4.280.0050.03912.33
5.4.270.0060.04712.33
5.4.260.0060.04212.33
5.4.250.0050.03812.33
5.4.240.0030.04912.33
5.4.230.0080.03912.32
5.4.220.0080.05312.32
5.4.210.0040.04112.32
5.4.200.0060.05512.32
5.4.190.0090.05512.32
5.4.180.0120.04912.32
5.4.170.0070.05312.33
5.4.160.0110.03412.32
5.4.150.0040.04112.32
5.4.140.0060.04612.00
5.4.130.0070.03511.99
5.4.120.0050.03911.96
5.4.110.0040.04411.95
5.4.100.0110.03911.95
5.4.90.0090.05211.95
5.4.80.0100.06011.95
5.4.70.0120.06211.94
5.4.60.0110.04911.95
5.4.50.0100.04911.94
5.4.40.0150.06011.93
5.4.30.0100.04411.93
5.4.20.0050.03911.93
5.4.10.0070.03311.93
5.4.00.0050.03611.42
5.3.290.0050.04612.80
5.3.280.0070.03712.71
5.3.270.0060.04012.73
5.3.260.0050.04012.71
5.3.250.0120.05212.72
5.3.240.0050.05212.72
5.3.230.0070.04312.70
5.3.220.0100.05312.68
5.3.210.0090.04112.68
5.3.200.0060.03912.68
5.3.190.0050.04212.68
5.3.180.0060.03612.67
5.3.170.0070.04312.67
5.3.160.0070.04212.67
5.3.150.0040.04112.67
5.3.140.0060.03712.66
5.3.130.0110.03912.66
5.3.120.0120.04912.66
5.3.110.0080.05212.66
5.3.100.0080.04512.12
5.3.90.0120.04912.08
5.3.80.0150.06012.07
5.3.70.0080.05512.07
5.3.60.0110.05012.06
5.3.50.0080.04812.00
5.3.40.0060.03912.00
5.3.30.0080.03411.94
5.3.20.0040.03811.72
5.3.10.0050.03711.69
5.3.00.0050.03611.68
5.2.170.0060.0309.18
5.2.160.0070.0339.18
5.2.150.0080.0399.18
5.2.140.0090.0439.17
5.2.130.0080.0429.14
5.2.120.0070.0289.13
5.2.110.0060.0499.14
5.2.100.0100.0379.14
5.2.90.0050.0319.14
5.2.80.0090.0349.13
5.2.70.0070.0339.13
5.2.60.0090.0279.09
5.2.50.0060.0319.05
5.2.40.0060.0309.04
5.2.30.0090.0389.01
5.2.20.0070.0299.00
5.2.10.0090.0378.91
5.2.00.0050.0438.78
5.1.60.0050.0248.05
5.1.50.0000.0298.06
5.1.40.0040.0258.04
5.1.30.0060.0248.39
5.1.20.0050.0268.41
5.1.10.0070.0248.14
5.1.00.0040.0278.14
5.0.50.0100.0256.62
5.0.40.0040.0236.48
5.0.30.0060.0306.29
5.0.20.0070.0276.26
5.0.10.0030.0226.24
5.0.00.0050.0336.23
4.4.90.0030.0154.78
4.4.80.0030.0154.76
4.4.70.0030.0154.75
4.4.60.0020.0154.75
4.4.50.0020.0154.77
4.4.40.0020.0254.71
4.4.30.0020.0174.76
4.4.20.0040.0204.85
4.4.10.0050.0244.85
4.4.00.0030.0264.76
4.3.110.0020.0164.66
4.3.100.0050.0144.67
4.3.90.0030.0174.63
4.3.80.0040.0234.58
4.3.70.0020.0154.63
4.3.60.0070.0114.62
4.3.50.0020.0174.63
4.3.40.0030.0254.53
4.3.30.0020.0173.28
4.3.20.0010.0183.26
4.3.10.0030.0153.21
4.3.00.0030.0237.56

preferences:
37.89 ms | 401 KiB | 5 Q