3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (function_exists('openssl_random_pseudo_bytes')) { $hash = openssl_random_pseudo_bytes(255); $hash = bin2hex($hash); $hash = base_convert($hash, 16, 36); var_dump($hash); }

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.0120.00316.63
8.3.50.0110.00621.94
8.3.40.0060.01018.67
8.3.30.0070.00718.96
8.3.20.0040.00420.18
8.3.10.0040.00423.48
8.3.00.0050.00318.90
8.2.180.0110.00416.32
8.2.170.0040.01122.96
8.2.160.0080.00520.34
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00822.27
8.2.110.0060.00322.11
8.2.100.0090.00317.66
8.2.90.0070.00019.09
8.2.80.0060.00317.97
8.2.70.0060.00317.38
8.2.60.0000.00817.91
8.2.50.0060.00318.07
8.2.40.0040.00418.03
8.2.30.0000.00717.82
8.2.20.0050.00217.61
8.2.10.0030.00717.94
8.2.00.0030.00717.61
8.1.280.0070.00725.92
8.1.270.0040.00422.14
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00623.85
8.1.230.0040.00719.15
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0040.00417.18
8.1.180.0050.00518.76
8.1.170.0040.00418.57
8.1.160.0000.00721.98
8.1.150.0040.00418.42
8.1.140.0040.00417.32
8.1.130.0040.00417.76
8.1.120.0050.00317.38
8.1.110.0040.00417.30
8.1.100.0000.00817.32
8.1.90.0000.00717.34
8.1.80.0040.00417.32
8.1.70.0030.00317.32
8.1.60.0030.00617.48
8.1.50.0040.00417.28
8.1.40.0020.00517.39
8.1.30.0000.00817.37
8.1.20.0030.00517.43
8.1.10.0000.00717.40
8.1.00.0060.00317.33
8.0.300.0040.00418.77
8.0.290.0060.00316.93
8.0.280.0000.00718.22
8.0.270.0000.00717.05
8.0.260.0000.00617.12
8.0.250.0030.00316.84
8.0.240.0030.00316.72
8.0.230.0030.00416.83
8.0.220.0020.00516.69
8.0.210.0000.00716.66
8.0.200.0000.00716.78
8.0.190.0040.00416.82
8.0.180.0040.00416.67
8.0.170.0000.00716.78
8.0.160.0050.00216.75
8.0.150.0040.00416.60
8.0.140.0000.00716.61
8.0.130.0000.00713.14
8.0.120.0040.00416.63
8.0.110.0030.00516.71
8.0.100.0080.00016.80
8.0.90.0030.00316.73
8.0.80.0120.00316.73
8.0.70.0080.00016.58
8.0.60.0000.00716.63
8.0.50.0000.00716.71
8.0.30.0120.00716.85
8.0.20.0120.00617.40
8.0.10.0070.00016.74
8.0.00.0130.00516.60
7.4.330.0000.00515.00
7.4.320.0000.00716.45
7.4.300.0030.00316.45
7.4.290.0040.00416.23
7.4.280.0000.00716.39
7.4.270.0070.00016.40
7.4.260.0030.00316.49
7.4.250.0040.00416.33
7.4.240.0040.00316.44
7.4.230.0000.00616.12
7.4.220.0070.01016.41
7.4.210.0080.00816.34
7.4.200.0030.00316.49
7.4.190.0030.00316.56
7.4.160.0060.00916.27
7.4.150.0120.00917.40
7.4.140.0090.00917.86
7.4.130.0100.01016.24
7.4.120.0110.00616.27
7.4.110.0120.00616.29
7.4.100.0100.00716.21
7.4.90.0100.01016.33
7.4.80.0140.01019.39
7.4.70.0160.00616.40
7.4.60.0030.01616.27
7.4.50.0060.00316.26
7.4.40.0110.00722.77
7.4.30.0100.00716.31
7.3.330.0030.00313.02
7.3.320.0000.00512.85
7.3.310.0000.00716.22
7.3.300.0000.00716.05
7.3.290.0080.00516.17
7.3.280.0110.01016.11
7.3.270.0030.01717.40
7.3.260.0120.00916.09
7.3.250.0100.00716.28
7.3.240.0000.01616.13
7.3.230.0100.00716.39
7.3.210.0130.00316.11
7.3.200.0140.00719.39
7.3.190.0120.00616.10
7.3.180.0030.01316.05
7.3.170.0120.00316.36
7.3.160.0140.00416.20
7.2.330.0070.01116.14
7.2.320.0100.01416.31
7.2.310.0060.01216.14
7.2.300.0100.00716.35
7.2.290.0110.00716.55
7.1.70.0090.00617.34
7.1.60.0100.01319.46
7.1.50.0090.01216.90
7.1.00.0000.08022.51
7.0.200.0000.01016.84
7.0.140.0100.06322.19
7.0.60.0130.06720.00
7.0.50.0070.03717.80
7.0.40.0100.03719.98
7.0.30.0530.06720.01
7.0.20.0400.07020.00
7.0.10.0230.04320.00
7.0.00.0070.04320.25
5.6.280.0170.06020.89
5.6.210.0100.07020.62
5.6.200.0030.07718.19
5.6.190.0070.07320.44
5.6.180.0200.04020.68
5.6.170.0230.05720.42
5.6.160.0100.06720.67
5.6.150.0000.08718.22
5.6.140.0100.07718.18
5.6.130.0200.06718.24
5.6.120.0070.04321.02
5.6.110.0070.08320.97
5.6.100.0030.04321.08
5.6.90.0130.07721.00
5.6.80.0070.07320.51
5.6.70.3730.04320.39
5.5.350.0100.08020.33
5.5.340.0100.06018.04
5.5.330.0100.08020.22
5.5.320.0370.03720.29
5.5.310.0300.03320.36
5.5.300.0100.07718.02
5.5.290.0030.09017.95
5.5.280.0070.08720.83
5.5.270.0000.08020.89
5.5.260.0100.08720.82
5.5.250.0100.08320.71
5.5.240.0200.04020.18
5.4.450.0800.06019.37
5.4.440.0230.05319.53
5.4.430.0330.04319.25
5.4.420.0300.04719.60
5.4.410.0230.05719.47
5.4.400.0270.04719.31
5.4.390.0300.07019.00
5.4.380.0300.05318.57
5.4.370.0170.06018.62
5.4.360.0300.06018.66
5.4.350.0430.07718.68
5.4.340.0370.06718.63
5.4.320.0070.03812.45
5.4.310.0050.03812.45
5.4.300.0060.04112.45
5.4.290.0090.03612.45
5.4.280.0120.06712.32
5.4.270.0210.07712.32
5.4.260.0280.08412.32
5.4.250.0160.06612.32
5.4.240.0240.08012.32
5.4.230.0200.06212.31
5.4.220.0210.10012.31
5.4.210.0160.06012.31
5.4.200.0110.07012.31
5.4.190.0150.06412.30
5.4.180.0080.05612.31
5.4.170.0090.05912.32
5.4.160.0150.05912.32
5.4.150.0170.06612.31
5.4.140.0090.05111.99
5.4.130.0130.06311.98
5.4.120.0090.05211.94
5.4.110.0140.06211.94
5.4.100.0100.04711.93
5.4.90.0160.08311.94
5.4.80.0130.09011.94
5.4.70.0200.09711.93
5.4.60.0070.04711.93
5.4.50.0160.07911.93
5.4.40.0150.06411.92
5.4.30.0120.06011.92
5.4.20.0210.06011.92
5.4.10.0110.05711.92
5.4.00.0080.06311.41
5.3.290.0090.04412.80
5.3.280.0180.06912.71
5.3.270.0170.06912.72
5.3.260.0160.07712.71
5.3.250.0200.10112.71
5.3.240.0270.12612.72
5.3.230.0150.09412.71
5.3.220.0240.07912.68
5.3.210.0170.06312.68
5.3.200.0140.06412.68
5.3.190.0170.06612.68
5.3.180.0090.05712.68
5.3.170.0140.04312.67
5.3.160.0150.05812.67
5.3.150.0170.07912.68
5.3.140.0280.06712.66
5.3.130.0170.07612.66
5.3.120.0220.08212.65
5.3.110.0130.09012.66
5.3.100.0130.07612.12
5.3.90.0280.12212.08
5.3.80.0150.06612.07
5.3.70.0240.09712.07
5.3.60.0150.07412.07
5.3.50.0080.06012.00
5.3.40.0130.04412.00
5.3.30.0150.05911.93
5.3.20.0080.05311.70
5.3.10.0040.04911.67
5.3.00.0050.04611.66
5.2.170.0070.0349.15
5.2.160.0080.0349.15
5.2.150.0060.0369.15
5.2.140.0090.0599.14
5.2.130.0080.0339.10
5.2.120.0070.0339.11
5.2.110.0070.0369.12
5.2.100.0050.0379.11
5.2.90.0210.0569.11
5.2.80.0200.0579.11
5.2.70.0090.0429.11
5.2.60.0030.0369.06
5.2.50.0050.0349.04
5.2.40.0070.0309.01
5.2.30.0070.0328.98
5.2.20.0080.0298.96
5.2.10.0070.0298.90
5.2.00.0090.0528.76
5.1.60.0290.0708.05
5.1.50.0080.0268.04
5.1.40.0080.0258.03
5.1.30.0130.0458.37
5.1.20.0110.0448.40
5.1.10.0260.0428.12
5.1.00.0050.0288.12
5.0.50.0070.0216.60
5.0.40.0230.0866.46
5.0.30.0110.0696.27
5.0.20.0050.0456.24
5.0.10.0080.0286.23
5.0.00.0100.0376.21
4.4.90.0050.0234.78
4.4.80.0050.0244.75
4.4.70.0060.0244.76
4.4.60.0110.0334.76
4.4.50.0080.0404.77
4.4.40.0180.0474.71
4.4.30.0090.0184.75
4.4.20.0140.0394.84
4.4.10.0150.0434.85
4.4.00.0200.0744.76
4.3.110.0080.0354.67
4.3.100.0040.0354.66
4.3.90.0170.0774.63
4.3.80.0150.0634.58
4.3.70.0130.0384.63
4.3.60.0090.0474.63
4.3.50.0250.0314.63
4.3.40.0050.0534.54
4.3.30.0040.0293.27
4.3.20.0100.0263.25
4.3.10.0060.0263.22
4.3.00.0270.03310.30

preferences:
33.1 ms | 401 KiB | 5 Q