3v4l.org

run code in 300+ PHP versions simultaneously
<?php $finalData = "This is a test of crc32b why is this different"; echo crc32($finalData); echo "\n"; $hash = hash('crc32b', $finalData, true); $crc = unpack('V', ); echo $hash; echo $crc[1]; echo "\n";

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.0080.00618.43
8.3.50.0100.00716.37
8.3.40.0070.00718.78
8.3.30.0030.01019.21
8.3.20.0070.00020.39
8.3.10.0040.00423.69
8.3.00.0080.00019.51
8.2.180.0120.00918.66
8.2.170.0070.01022.96
8.2.160.0130.00720.43
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0040.00419.70
8.2.110.0060.00322.06
8.2.100.0120.00017.75
8.2.90.0000.00819.28
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0040.00418.16
8.2.30.0060.00318.11
8.2.20.0040.00417.72
8.2.10.0040.00417.93
8.2.00.0030.00617.80
8.1.280.0070.01025.92
8.1.270.0060.00320.71
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.92
8.1.230.0070.00419.22
8.1.220.0050.00317.78
8.1.210.0050.00318.77
8.1.200.0060.00317.22
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0040.00420.84
8.1.160.0070.00022.00
8.1.150.0040.00418.77
8.1.140.0040.00417.41
8.1.130.0040.00417.73
8.1.120.0000.00817.47
8.1.110.0040.00417.43
8.1.100.0050.00217.49
8.1.90.0000.00717.43
8.1.80.0000.00817.36
8.1.70.0070.00017.33
8.1.60.0040.00417.61
8.1.50.0000.00817.60
8.1.40.0020.00517.57
8.1.30.0040.00417.56
8.1.20.0040.00417.75
8.1.10.0000.00817.52
8.1.00.0000.00717.59
8.0.300.0030.00518.77
8.0.290.0000.00716.75
8.0.280.0030.00318.36
8.0.270.0000.00817.26
8.0.260.0030.00318.38
8.0.250.0030.00617.09
8.0.240.0000.00817.07
8.0.230.0000.00716.91
8.0.220.0000.00716.94
8.0.210.0070.00016.86
8.0.200.0000.00717.02
8.0.190.0030.00317.05
8.0.180.0060.00317.02
8.0.170.0000.00716.97
8.0.160.0040.00417.02
8.0.150.0070.00016.90
8.0.140.0000.00716.93
8.0.130.0030.00313.46
8.0.120.0000.00716.91
8.0.110.0020.00516.93
8.0.100.0040.00416.75
8.0.90.0070.00016.79
8.0.80.0030.01317.00
8.0.70.0000.00716.90
8.0.60.0000.00816.94
8.0.50.0000.00717.06
8.0.30.0040.01817.11
8.0.20.0110.00717.40
8.0.10.0080.00016.99
8.0.00.0130.00416.80
7.4.330.0060.00015.09
7.4.320.0030.00316.48
7.4.300.0000.00616.41
7.4.290.0070.00016.58
7.4.280.0030.00616.56
7.4.270.0000.00716.46
7.4.260.0070.00016.56
7.4.250.0000.00716.46
7.4.240.0000.00716.55
7.4.230.0080.00016.49
7.4.220.0130.00316.45
7.4.210.0110.00816.52
7.4.200.0030.00316.63
7.4.160.0090.00916.41
7.4.150.0120.00617.40
7.4.140.0130.01017.86
7.4.130.0120.00816.57
7.4.120.0060.01116.48
7.4.110.0100.00716.37
7.4.100.0150.00416.58
7.4.90.0060.01116.66
7.4.80.0120.00619.39
7.4.70.0090.01116.64
7.4.60.0060.01216.60
7.4.50.0080.00016.46
7.4.40.0100.00716.51
7.4.30.0030.01316.76
7.3.330.0000.00513.06
7.3.320.0020.00213.21
7.3.310.0000.00716.28
7.3.300.0060.00016.16
7.3.290.0090.00816.32
7.3.280.0120.00516.32
7.3.270.0080.00817.40
7.3.260.0090.00916.37
7.3.250.0070.01016.57
7.3.240.0060.01016.41
7.3.230.0060.01016.45
7.3.210.0070.01016.63
7.3.200.0100.00619.39
7.3.190.0110.00616.31
7.3.180.0030.01416.58
7.3.170.0090.00716.45
7.3.160.0090.00616.51
7.2.330.0200.00016.38
7.2.320.0060.01316.49
7.2.310.0060.00916.47
7.2.300.0060.00916.46
7.2.290.0030.01416.31
5.4.340.0080.03612.01
5.4.320.0050.04112.49
5.4.310.0020.04212.49
5.4.300.0070.04212.49
5.4.290.0100.03912.49
5.4.280.0070.03812.39
5.4.270.0080.03612.39
5.4.260.0050.04312.39
5.4.250.0060.04012.39
5.4.240.0090.03312.39
5.4.230.0040.04212.38
5.4.220.0060.04012.38
5.4.210.0050.03712.38
5.4.200.0060.03712.38
5.4.190.0040.03812.38
5.4.180.0080.03412.38
5.4.170.0070.03612.39
5.4.160.0110.03012.38
5.4.150.0020.04012.38
5.4.140.0050.03912.07
5.4.130.0130.03012.05
5.4.120.0070.03512.02
5.4.110.0040.04112.01
5.4.100.0050.03812.01
5.4.90.0060.04112.01
5.4.80.0060.04712.01
5.4.70.0050.03512.00
5.4.60.0080.03712.01
5.4.50.0060.03512.01
5.4.40.0040.03712.00
5.4.30.0080.03312.00
5.4.20.0100.03211.99
5.4.10.0050.03611.99
5.4.00.0030.04511.49
5.3.290.0070.04312.80
5.3.280.0040.04512.71
5.3.270.0080.03912.72
5.3.260.0070.03912.72
5.3.250.0070.03712.72
5.3.240.0040.04112.72
5.3.230.0080.04012.71
5.3.220.0080.04012.68
5.3.210.0090.04112.68
5.3.200.0060.03812.68
5.3.190.0090.03512.68
5.3.180.0060.03712.68
5.3.170.0100.03212.67
5.3.160.0090.03812.68
5.3.150.0060.03812.67
5.3.140.0050.03812.66
5.3.130.0100.03712.66
5.3.120.0060.03912.66
5.3.110.0050.03912.66
5.3.100.0060.03912.12
5.3.90.0090.03912.08
5.3.80.0080.03712.07
5.3.70.0050.03712.08
5.3.60.0050.03712.07
5.3.50.0070.03512.00
5.3.40.0080.03712.00
5.3.30.0080.03411.95
5.3.20.0050.03511.72
5.3.10.0100.03311.70
5.3.00.0060.03611.68
5.2.170.0020.0349.18
5.2.160.0050.0299.19
5.2.150.0040.0339.19
5.2.140.0060.0289.18
5.2.130.0050.0299.14
5.2.120.0030.0299.14
5.2.110.0040.0309.14
5.2.100.0080.0309.14
5.2.90.0060.0289.14
5.2.80.0050.0349.14
5.2.70.0040.0329.14
5.2.60.0050.0299.09
5.2.50.0030.0319.06
5.2.40.0030.0299.04
5.2.30.0070.0369.01
5.2.20.0070.0279.00
5.2.10.0050.0288.93
5.2.00.0050.0298.78
5.1.60.0060.0248.07
5.1.50.0060.0238.06
5.1.40.0060.0258.05
5.1.30.0070.0258.39
5.1.20.0050.0278.41
5.1.10.0040.0288.14
5.1.00.0060.0288.15
5.0.50.0030.0226.62
5.0.40.0040.0206.48
5.0.30.0040.0316.30
5.0.20.0050.0216.26
5.0.10.0040.0226.24
5.0.00.0040.0326.24
4.4.90.0060.0164.78
4.4.80.0040.0144.75
4.4.70.0050.0154.75
4.4.60.0030.0184.75
4.4.50.0020.0164.77
4.4.40.0030.0264.71
4.4.30.0030.0164.76
4.4.20.0020.0184.84
4.4.10.0050.0184.85
4.4.00.0010.0274.76
4.3.110.0020.0174.66
4.3.100.0030.0154.66
4.3.90.0040.0154.64
4.3.80.0020.0244.59
4.3.70.0010.0164.63
4.3.60.0040.0134.63
4.3.50.0030.0154.63
4.3.40.0020.0294.54
4.3.30.0020.0163.29
4.3.20.0030.0153.26
4.3.10.0050.0143.22
4.3.00.0000.0238.63

preferences:
53.59 ms | 400 KiB | 5 Q