3v4l.org

run code in 300+ PHP versions simultaneously
<?php $algorithms = array('ssh-rsa', 'ssh-dss', 'ssh-ed25519'); $algorithm_string = join(' or ', array_filter(array_merge(array(join(', ', array_slice($algorithms, 0, -1))), array_slice($algorithms, -1)), 'strlen')); echo sprintf('The key is invalid. It must begin with %s.', $algorithm_string);

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.4.120.0120.00823.98
8.4.110.0120.00820.41
8.4.100.0100.01117.59
8.4.90.0110.00920.54
8.4.80.0050.00319.04
8.4.70.0110.00918.90
8.4.60.0050.01118.80
8.4.50.0020.00618.60
8.4.40.0160.00017.64
8.4.30.0080.00017.92
8.4.20.0030.00619.66
8.4.10.0030.00617.70
8.3.250.0090.00818.58
8.3.240.0140.00616.34
8.3.230.0120.00716.65
8.3.220.0090.00418.76
8.3.210.0080.00518.52
8.3.200.0050.00316.35
8.3.190.0100.00916.84
8.3.180.0080.00917.12
8.3.170.0090.00918.80
8.3.160.0110.00717.23
8.3.150.0120.00616.91
8.3.140.0000.00816.46
8.3.130.0030.00618.27
8.3.120.0050.00520.65
8.3.110.0000.00920.94
8.3.100.0150.00324.06
8.3.90.0110.00026.77
8.3.80.0110.00018.18
8.3.70.0000.01618.43
8.3.60.0110.00716.21
8.3.50.0090.00917.30
8.3.40.0110.00318.67
8.3.30.0040.01818.71
8.3.20.0040.00421.82
8.3.10.0040.00423.61
8.3.00.0000.00819.55
8.2.290.0100.00917.30
8.2.280.0080.00118.46
8.2.270.0130.00717.29
8.2.260.0150.00716.62
8.2.250.0030.00616.72
8.2.240.0090.00017.30
8.2.230.0040.01422.58
8.2.220.0070.00337.54
8.2.210.0040.00426.77
8.2.200.0030.00616.50
8.2.190.0030.01516.75
8.2.180.0140.00716.33
8.2.170.0090.00622.96
8.2.160.0030.01020.41
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00719.30
8.2.120.0080.00026.35
8.2.110.0060.00321.00
8.2.100.0040.00817.91
8.2.90.0040.00417.79
8.2.80.0050.00319.41
8.2.70.0080.00017.80
8.2.60.0040.00417.48
8.2.50.0030.00618.10
8.2.40.0000.00722.36
8.2.30.0090.00019.45
8.2.20.0030.00518.13
8.2.10.0040.00417.75
8.2.00.0040.00418.06
8.1.330.0120.00616.28
8.1.320.0100.00817.73
8.1.310.0030.00616.85
8.1.300.0130.00715.98
8.1.290.0060.00330.84
8.1.280.0100.00725.92
8.1.270.0080.00024.00
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0080.00022.19
8.1.230.0060.00620.83
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0050.00317.35
8.1.180.0030.00618.10
8.1.170.0040.00418.57
8.1.160.0050.00318.94
8.1.150.0000.00718.93
8.1.140.0040.00418.85
8.1.130.0030.00320.13
8.1.120.0060.00317.54
8.1.110.0040.00417.45
8.1.100.0000.00717.38
8.1.90.0000.00717.43
8.1.80.0030.00717.48
8.1.70.0080.00017.47
8.1.60.0000.00817.60
8.1.50.0040.00417.43
8.1.40.0040.00417.50
8.1.30.0000.00717.49
8.1.20.0030.00617.65
8.1.10.0040.00417.52
8.1.00.0070.00017.48
8.0.300.0040.00419.77
8.0.290.0040.00416.75
8.0.280.0030.00318.39
8.0.270.0070.00018.02
8.0.260.0030.00316.74
8.0.250.0000.01017.01
8.0.240.0040.00417.01
8.0.230.0000.00716.91
8.0.220.0030.00316.81
8.0.210.0030.00416.97
8.0.200.0000.00716.94
8.0.190.0040.00416.95
8.0.180.0000.00816.93
8.0.170.0040.00416.81
8.0.160.0040.00416.80
8.0.150.0000.00716.73
8.0.140.0030.00316.86
8.0.130.0000.00513.34
8.0.120.0000.00816.77
8.0.110.0050.00316.82
8.0.100.0030.00516.87
8.0.90.0070.00016.84
8.0.80.0060.00916.86
8.0.70.0040.00416.89
8.0.60.0050.00216.78
8.0.50.0040.00416.96
8.0.30.0080.01117.07
8.0.20.0160.00317.40
8.0.10.0070.00017.06
8.0.00.0130.00716.72
7.4.330.0000.00515.55
7.4.320.0070.00016.46
7.4.300.0040.00416.59
7.4.290.0000.00716.61
7.4.280.0030.00516.49
7.4.270.0040.00416.50
7.4.260.0070.00016.59
7.4.250.0070.00016.61
7.4.240.0070.00016.54
7.4.230.0000.00716.54
7.4.220.0000.00716.61
7.4.210.0040.01216.53
7.4.200.0030.00316.59
7.4.160.0090.00516.49
7.4.140.0120.00917.86
7.4.130.0070.01116.43
7.4.120.0120.00716.51
7.4.110.0100.00716.37
7.4.100.0110.00516.55
7.4.90.0150.00616.55
7.4.80.0060.01219.39
7.4.70.0100.00716.39
7.4.60.0030.01316.26
7.4.50.0070.01016.51
7.4.40.0110.00616.43
7.4.00.0100.00314.86
7.3.330.0000.00613.13
7.3.320.0030.00313.12
7.3.310.0000.00716.20
7.3.300.0030.00316.20
7.3.290.0030.00316.25
7.3.280.0070.00716.22
7.3.260.0100.00816.51
7.3.240.0090.00916.17
7.3.230.0070.01316.47
7.3.210.0060.01016.40
7.3.200.0060.01616.57
7.3.190.0090.00616.42
7.3.180.0060.01716.39
7.3.170.0040.01216.18
7.3.160.0090.01216.20
7.2.330.0120.00616.70
7.2.320.0130.01016.46
7.2.310.0100.00716.48
7.2.300.0100.00916.45
7.2.290.0130.01016.71
7.2.60.0120.00416.73
7.2.30.0150.00717.52
7.2.20.0720.01318.03
7.2.10.0210.01318.20
7.2.00.0160.01417.93
7.1.200.0030.01115.73
7.1.150.0170.01116.65
7.1.140.0110.01516.77
7.1.130.0160.01016.72
7.1.120.0200.01216.95
7.1.110.0220.01516.43
7.1.100.0180.01015.83
7.1.90.0160.01215.75
7.1.80.0090.01115.93
7.1.70.0100.00715.24
7.1.60.0260.01232.98
7.1.50.0270.01432.91
7.1.40.0240.01532.38
7.1.30.0310.01332.52
7.1.20.0330.01432.56
7.1.10.0190.01114.61
7.1.00.0100.00814.92

preferences:
30.85 ms | 403 KiB | 5 Q