3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '{"8":"2020-06-L-1.txt","9":"2020-06-L-2.txt","10":"2020-06-L-3.txt","11":"2020-06-L-4.txt","12":"2020-06-L-5.txt","15":"2020-06-N-3.txt","16":"2020-06-N-4.txt","17":"2020-06-N-5.txt","18":"2020-06-N-6.txt","19":"2020-06-O-1.txt","20":"2020-06-O-2.txt","21":"2020-06-O-3.txt","22":"2020-06-O-4.txt","23":"2020-06-S-1.txt","24":"2020-06-S-2.txt","25":"2020-06-S-3.txt"} '; $fileArray = json_decode($s, true); $fileFilterPattern = "/....-..-L-.\.txt/"; foreach($fileArray as $k => $v) { if(!preg_match($fileFilterPattern, $v)) { unset($fileArray[$k]); } } print_r($fileArray);

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.5.10.0090.01016.74
8.5.00.0140.00920.29
8.4.150.0010.00114.05
8.4.140.0120.00917.95
8.4.130.0120.00818.59
8.4.120.0140.00724.03
8.4.110.0110.00718.09
8.4.100.0110.00918.86
8.4.90.0130.00820.77
8.4.80.0100.00318.52
8.4.70.0110.00918.07
8.4.60.0040.00618.78
8.4.50.0100.01018.77
8.4.40.0150.00317.85
8.4.30.0150.00418.64
8.4.20.0070.01317.78
8.4.10.0090.00021.51
8.3.280.0080.01218.52
8.3.270.0120.00816.68
8.3.260.0100.00616.73
8.3.250.0130.00518.76
8.3.240.0130.00717.09
8.3.230.0120.00716.93
8.3.220.0070.01118.87
8.3.210.0100.00816.68
8.3.200.0040.00716.89
8.3.190.0140.00617.22
8.3.180.0040.00517.12
8.3.170.0140.00420.50
8.3.160.0070.01118.56
8.3.150.0100.01017.38
8.3.140.0080.00816.82
8.3.130.0030.00616.93
8.3.120.0120.00419.03
8.3.110.0060.00320.94
8.3.100.0090.00024.06
8.3.90.0000.00826.77
8.3.80.0000.00919.36
8.3.70.0040.01117.00
8.3.60.0140.00718.32
8.3.50.0100.00724.60
8.3.40.0100.01018.92
8.3.30.0080.00818.97
8.3.20.0000.00824.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0090.01120.21
8.2.280.0090.00318.43
8.2.270.0090.00317.23
8.2.260.0070.00717.07
8.2.250.0030.00616.75
8.2.240.0080.00018.50
8.2.230.0050.00322.58
8.2.220.0080.00037.54
8.2.210.0050.00326.77
8.2.200.0030.00618.88
8.2.190.0190.00316.75
8.2.180.0040.01125.92
8.2.170.0120.00919.17
8.2.160.0090.00922.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00426.35
8.2.110.0050.00522.30
8.2.100.0090.00317.84
8.2.90.0050.00318.14
8.2.80.0080.00019.05
8.2.70.0040.00418.00
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0040.00418.09
8.2.30.0000.00718.26
8.2.20.0040.00418.20
8.2.10.0000.00719.25
8.2.00.0030.00519.21
8.1.330.0080.01121.86
8.1.320.0120.00616.25
8.1.310.0090.00916.71
8.1.300.0080.00017.98
8.1.290.0030.00630.84
8.1.280.0090.00625.92
8.1.270.0040.01123.99
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0070.00323.85
8.1.230.0080.00317.76
8.1.220.0050.00317.79
8.1.210.0090.00018.77
8.1.200.0030.00617.48
8.1.190.0040.00417.48
8.1.180.0050.00318.10
8.1.170.0030.00618.76
8.1.160.0040.00418.91
8.1.150.0040.00418.96
8.1.140.0000.00718.86
8.1.130.0030.00320.16
8.1.120.0050.00217.50
8.1.110.0040.00417.64
8.1.100.0050.00217.62
8.1.90.0040.00317.64
8.1.80.0050.00317.66
8.1.70.0000.00717.58
8.1.60.0080.00017.63
8.1.50.0030.00617.64
8.1.40.0040.00417.55
8.1.30.0050.00317.70
8.1.20.0000.00817.66
8.1.10.0040.00417.50
8.1.00.0000.00817.59
8.0.300.0000.00718.77
8.0.290.0000.00916.75
8.0.280.0040.00418.45
8.0.270.0000.00918.11
8.0.260.0030.00318.34
8.0.250.0000.01017.14
8.0.240.0000.00717.09
8.0.230.0040.00417.11
8.0.220.0030.00317.04
8.0.210.0030.00517.04
8.0.200.0050.00316.99
8.0.190.0000.00817.11
8.0.180.0030.00517.11
8.0.170.0000.00917.11
8.0.160.0050.00217.03
8.0.150.0030.00416.92
8.0.140.0060.00317.00
8.0.130.0000.00513.51
8.0.120.0000.00816.96
8.0.110.0050.00317.08
8.0.100.0070.00017.01
8.0.90.0050.00217.01
8.0.80.0060.00917.05
8.0.70.0000.00816.84
8.0.60.0000.00716.93
8.0.50.0060.00317.08
8.0.30.0090.00917.36
8.0.20.0250.00917.24
8.0.10.0040.00416.95
8.0.00.0090.00916.93
7.4.330.0000.00515.55
7.4.320.0000.00716.82
7.4.300.0030.00316.79
7.4.290.0000.00816.79
7.4.280.0060.00316.71
7.4.270.0040.00416.64
7.4.260.0000.00513.45
7.4.250.0040.00416.83
7.4.240.0040.00416.79
7.4.230.0000.00716.89
7.4.220.0030.00316.80
7.4.210.0070.00916.74
7.4.200.0040.00416.80
7.4.130.0110.00616.80
7.4.120.0070.01116.87
7.4.110.0130.00316.70
7.4.100.0060.01216.75
7.4.90.0090.00916.76
7.4.80.0100.01019.39
7.4.70.0170.00016.66
7.4.60.0100.00716.69
7.4.50.0120.00616.68
7.4.40.0130.00316.52
7.4.30.0080.00816.52
7.4.20.0080.00816.84
7.4.10.0000.01616.80
7.4.00.0120.00416.72
7.3.330.0030.00316.24
7.3.320.0060.00013.30
7.3.310.0000.00716.43
7.3.300.0000.00716.34
7.3.290.0080.00716.36
7.3.280.0040.01116.42
7.3.260.0120.00616.69
7.3.230.0040.01416.39
7.3.210.0060.01116.51
7.3.200.0080.00816.39
7.3.190.0100.00616.59
7.3.180.0140.00316.49
7.3.170.0170.00416.51
7.3.160.0100.00716.78
7.3.150.0090.00916.86
7.3.140.0030.01216.42
7.3.130.0030.01316.46
7.3.120.0060.00916.78
7.3.110.0080.00816.70
7.3.100.0090.00616.23
7.3.90.0100.00716.71
7.3.80.0030.01416.86
7.3.70.0090.00916.57
7.3.60.0070.01016.54
7.3.50.0000.01716.66
7.3.40.0070.01316.59
7.3.30.0070.01016.50
7.3.20.0130.00316.49
7.3.10.0100.01016.70
7.3.00.0060.01016.74
7.2.330.0120.00616.85
7.2.320.0090.01216.93
7.2.310.0090.00916.92
7.2.300.0120.00416.83
7.2.290.0130.00316.66
7.2.280.0130.00416.89
7.2.270.0030.01316.84
7.2.260.0130.00316.84
7.2.250.0100.00716.84
7.2.240.0080.00816.99
7.2.230.0060.01116.84
7.2.220.0140.00316.96
7.2.210.0050.01116.84
7.2.200.0110.00616.80
7.2.190.0100.00716.89
7.2.180.0060.01216.84
7.2.170.0000.01616.76
7.2.160.0070.01016.85
7.2.150.0060.01216.91
7.2.140.0110.00816.96
7.2.130.0110.00716.82
7.2.120.0130.00716.92
7.2.110.0110.00716.79
7.2.100.0050.01416.88
7.2.90.0110.00816.80
7.2.80.0100.01116.98
7.2.70.0110.00916.82
7.2.60.0090.00916.84
7.2.50.0090.00916.90
7.2.40.0110.00817.00
7.2.30.0140.00417.03
7.2.20.0360.01316.73
7.2.10.0150.00516.77
7.2.00.0150.00316.70

preferences:
34.1 ms | 403 KiB | 5 Q