3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = [ 'http://www.yandex.ru', 'http://www.mail.ru', 'http://www.google.com' ]; $response = [ ['http://www.mail.ru', 200, 'some other string'], ['http://www.yandex.ru', 200, 'some string'], ['http://www.google.com', 200, 'yet another string'] ]; var_export( array_values( array_replace( array_flip($input), array_column($response, null, 0) ) ) );

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.0140.00623.89
8.4.110.0100.01020.54
8.4.100.0140.00617.50
8.4.90.0040.00420.56
8.4.80.0100.00619.11
8.4.70.0050.00318.59
8.4.60.0140.00618.57
8.4.50.0110.00818.70
8.4.40.0180.00317.42
8.4.30.0100.01020.39
8.4.20.0100.01017.69
8.4.10.0080.00026.04
8.3.250.0090.00918.76
8.3.240.0100.00817.02
8.3.230.0120.00716.54
8.3.220.0060.00119.00
8.3.210.0100.00816.50
8.3.200.0050.00416.51
8.3.190.0140.00517.12
8.3.180.0100.00918.77
8.3.170.0040.01518.63
8.3.160.0050.00318.45
8.3.150.0120.00316.62
8.3.140.0040.00418.60
8.3.130.0050.00318.32
8.3.120.0040.01118.95
8.3.110.0100.00016.52
8.3.100.0040.00416.65
8.3.90.0000.00826.77
8.3.80.0040.00416.38
8.3.70.0110.00416.63
8.3.60.0170.00316.38
8.3.50.0120.00923.67
8.3.40.0040.01118.54
8.3.30.0080.00618.59
8.3.20.0080.00024.18
8.3.10.0080.00024.66
8.3.00.0050.00326.16
8.2.290.0110.00720.18
8.2.280.0120.00718.09
8.2.270.0100.00718.81
8.2.260.0120.00616.40
8.2.250.0000.00816.46
8.2.240.0150.00416.53
8.2.230.0060.00920.94
8.2.220.0070.01424.06
8.2.210.0080.00026.77
8.2.200.0060.00616.63
8.2.190.0120.00316.63
8.2.180.0140.00725.92
8.2.170.0160.00318.75
8.2.160.0100.00322.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0110.00426.16
8.2.120.0050.00326.35
8.2.110.0040.00420.50
8.2.100.0080.00317.66
8.2.90.0000.00817.84
8.2.80.0050.00321.07
8.2.70.0050.00317.38
8.2.60.0030.00517.92
8.2.50.0070.00718.05
8.2.40.0040.00417.98
8.2.30.0000.00717.99
8.2.20.0070.00317.92
8.2.10.0070.00019.09
8.2.00.0040.00419.05
8.1.330.0110.00822.02
8.1.320.0090.00715.79
8.1.310.0140.00318.28
8.1.300.0060.00318.11
8.1.290.0040.00430.84
8.1.280.0100.00325.92
8.1.270.0030.00623.79
8.1.260.0050.00328.09
8.1.250.0000.00728.09
8.1.240.0040.00420.71
8.1.230.0070.00422.66
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0050.00317.22
8.1.180.0000.00818.10
8.1.170.0050.00318.59
8.1.160.0000.00818.74
8.1.150.0040.00418.80
8.1.140.0050.00218.82
8.1.130.0030.00520.07
8.1.120.0000.00817.29
8.1.110.0000.00817.41
8.1.100.0050.00317.29
8.1.90.0070.00017.28
8.1.80.0070.00317.40
8.1.70.0080.00017.41
8.1.60.0050.00517.43
8.1.50.0000.00817.51
8.1.40.0000.00817.44
8.1.30.0060.00317.57
8.1.20.0040.00417.52
8.1.10.0000.00817.39
8.1.00.0000.00817.27
8.0.300.0040.00419.91
8.0.290.0060.00316.63
8.0.280.0030.00318.24
8.0.270.0030.00317.99
8.0.260.0030.00318.43
8.0.250.0050.00216.88
8.0.240.0000.00716.89
8.0.230.0070.00016.76
8.0.220.0050.00216.80
8.0.210.0080.00016.84
8.0.200.0030.00516.93
8.0.190.0070.00016.80
8.0.180.0000.00716.79
8.0.170.0060.00316.73
8.0.160.0030.00416.91
8.0.150.0050.00316.66
8.0.140.0030.00516.79
8.0.130.0000.00713.14
8.0.120.0030.00516.80
8.0.110.0050.00216.79
8.0.100.0000.00916.74
8.0.90.0040.00416.70
8.0.80.0100.00716.80
8.0.70.0080.00016.89
8.0.60.0040.00416.86
8.0.50.0000.00816.84
8.0.30.0100.01016.80
8.0.20.0110.00816.89
8.0.10.0090.00917.09
8.0.00.0120.00616.98
7.4.330.0000.00515.55
7.4.320.0030.00516.54
7.4.300.0000.00716.49
7.4.290.0080.00016.35
7.4.280.0100.00016.28
7.4.270.0050.00216.55
7.4.260.0000.00513.14
7.4.250.0000.00716.43
7.4.240.0000.00716.38
7.4.230.0040.00416.41
7.4.220.0040.00316.56
7.4.210.0080.00616.57
7.4.200.0000.00716.33
7.4.140.0100.00716.32
7.4.130.0130.00316.47
7.4.120.0070.01116.34
7.4.110.0120.00616.33
7.4.100.0100.00616.30
7.4.90.0100.00716.39
7.4.80.0140.00416.35
7.4.70.0030.01416.32
7.4.60.0100.00716.42
7.4.50.0140.00316.23
7.4.40.0120.00616.52
7.4.30.0140.00316.23
7.4.20.0150.00316.55
7.4.10.0120.00616.34
7.4.00.0070.01116.25
7.3.330.0040.00415.98
7.3.320.0030.00312.89
7.3.310.0000.00716.22
7.3.300.0000.00616.15
7.3.290.0100.00916.19
7.3.260.0090.00816.32
7.3.250.0140.00416.33
7.3.240.0100.00616.16
7.3.230.0100.00716.16
7.3.220.0070.01016.16
7.3.210.0110.00616.30
7.3.200.0060.00916.45
7.3.190.0130.00316.15
7.3.180.0100.00716.41
7.3.170.0100.00716.33
7.3.160.0100.00716.40
7.3.150.0060.01116.24
7.3.140.0100.01016.10
7.3.130.0130.00716.44
7.3.120.0030.01416.18
7.3.110.0080.00816.33
7.3.100.0220.00316.14
7.3.90.0120.01316.06
7.3.80.0100.01016.13
7.3.70.0110.00716.09
7.3.60.0070.01416.10
7.3.50.0090.00916.14
7.3.40.0110.00716.14
7.3.30.0120.01216.18
7.3.20.0560.01016.04
7.3.10.0150.00916.25
7.3.00.0110.01316.04

preferences:
27.72 ms | 403 KiB | 5 Q