3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Files("textfile1.txt", 7268474425, "textfile2.txt", 661204928, "textfile3.txt", 121034)'; var_export( array_reduce( preg_split('/[^,]+,[^,]+\K, /', substr($string, 6, -1)), function ($result, $string) { [$key, $result[$key]] = sscanf($string, '"%[^"]", %d'); return $result; } ) );

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.0100.00719.86
8.5.00.0130.00920.04
8.4.150.0020.00014.05
8.4.140.0110.01017.63
8.4.130.0120.00918.10
8.4.120.0120.00721.93
8.4.110.0100.01022.25
8.4.100.0120.00918.96
8.4.90.0120.01018.55
8.4.80.0060.01018.84
8.4.70.0110.00618.22
8.4.60.0120.00818.95
8.4.50.0070.01317.89
8.4.40.0130.00318.00
8.4.30.0090.01218.75
8.4.20.0090.00617.63
8.4.10.0100.01024.05
8.3.280.0100.01018.74
8.3.270.0130.00716.86
8.3.260.0050.00416.81
8.3.250.0080.01118.84
8.3.240.0140.00616.78
8.3.230.0090.01016.93
8.3.220.0130.00618.93
8.3.210.0090.01118.56
8.3.200.0060.00316.56
8.3.190.0080.01017.17
8.3.180.0090.00616.63
8.3.170.0030.00617.45
8.3.160.0120.00616.81
8.3.150.0160.00317.48
8.3.140.0040.01418.73
8.3.130.0070.00316.95
8.3.120.0130.00619.16
8.3.110.0060.00320.94
8.3.100.0040.00724.06
8.3.90.0060.00326.77
8.3.80.0140.00016.75
8.3.70.0130.00316.75
8.3.60.0110.00416.75
8.3.50.0070.00720.18
8.3.40.0100.01020.29
8.3.30.0090.00618.80
8.3.20.0080.00024.18
8.3.10.0030.00524.66
8.3.00.0090.00026.16
8.2.290.0090.01020.59
8.2.280.0080.01118.55
8.2.270.0040.01516.70
8.2.260.0090.00917.04
8.2.250.0060.00318.49
8.2.240.0060.00317.41
8.2.230.0090.00022.58
8.2.220.0030.00637.54
8.2.210.0090.00026.77
8.2.200.0030.00616.75
8.2.190.0180.00017.00
8.2.180.0030.01725.92
8.2.170.0090.00919.07
8.2.160.0120.00322.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0000.00721.25
8.2.110.0050.00521.30
8.2.100.0080.00417.97
8.2.90.0080.00019.36
8.2.80.0040.00417.97
8.2.70.0040.00417.93
8.2.60.0090.00017.88
8.2.50.0080.00018.05
8.2.40.0050.00318.16
8.2.30.0000.00718.24
8.2.20.0040.00419.41
8.2.10.0030.00618.22
8.2.00.0000.00719.41
8.1.330.0060.00321.90
8.1.320.0070.01216.19
8.1.310.0050.00316.93
8.1.300.0110.00718.32
8.1.290.0060.00330.84
8.1.280.0060.01025.92
8.1.270.0080.00022.08
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0080.00022.18
8.1.230.0000.01120.32
8.1.220.0000.00817.76
8.1.210.0030.00518.77
8.1.200.0000.00917.61
8.1.190.0000.00817.25
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0040.00418.93
8.1.150.0040.00418.87
8.1.140.0040.00417.54
8.1.130.0040.00417.68
8.1.120.0000.00717.63
8.1.110.0160.00017.59
8.1.100.0160.00017.58
8.1.90.0100.00517.53
8.1.80.0050.01017.55
8.1.70.0150.00017.47
8.1.60.0120.00617.69
8.1.50.0060.01017.66
8.1.40.0060.00617.50
8.1.30.0100.00717.68
8.1.20.0050.01417.70
8.1.10.0160.00217.56
8.1.00.0040.01317.61
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00720.22
8.0.270.0040.00417.13
8.0.260.0070.00016.84
8.0.250.0000.00716.97
8.0.240.0160.00016.98
8.0.230.0120.00316.93
8.0.220.0000.01516.94
8.0.210.0070.00716.84
8.0.200.0040.00916.78
8.0.190.0150.00017.04
8.0.180.0090.00316.94
8.0.170.0100.00516.96
8.0.160.0090.00317.03
8.0.150.0110.00616.86
8.0.140.0160.00016.91
8.0.130.0130.00216.79
8.0.120.0050.01016.96
8.0.110.0090.00517.02
8.0.100.0150.00017.00
8.0.90.0040.01216.98
8.0.80.0120.00417.02
8.0.70.0050.01017.00
8.0.60.0070.00717.02
8.0.50.0110.00317.04
8.0.30.0170.00016.84
8.0.20.0070.00717.04
8.0.10.0130.00317.07
7.4.330.0040.00015.55
7.4.320.0150.00016.70
7.4.300.0080.00416.80
7.4.290.0000.01116.59
7.4.280.0170.00016.66
7.4.270.0040.00716.79
7.4.260.0070.00416.48
7.4.250.0070.00316.70
7.4.240.0090.00316.70
7.4.230.0060.00616.61
7.4.220.0080.00416.77
7.4.210.0030.00716.71
7.4.200.0020.00916.80
7.4.190.0090.00316.81
7.4.180.0060.00616.73
7.4.160.0070.00716.66
7.4.150.0110.00316.67
7.4.140.0120.00016.64
7.4.130.0130.00016.53
7.4.120.0110.00416.61
7.4.110.0080.00416.42
7.4.100.0070.00516.55
7.4.90.0140.00016.61
7.4.80.0090.00316.70
7.4.70.0120.00216.68
7.4.60.0100.00416.83
7.4.50.0050.00916.55
7.4.40.0050.00916.41
7.4.30.0140.00016.72
7.4.20.0070.00716.54
7.4.10.0030.01016.50
7.4.00.0100.00416.60

preferences:
129.79 ms | 403 KiB | 5 Q