3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = json_decode('[{"id":"331","file_name":"3b1379e2496408dd4c865f5f63f96bf6","file_path":"https://path/3b1379e2496408dd4c865f5f63f96bf6.png"}, {"id":"332","file_name":"d0ef559473a061086592bceed0880a01","file_path":"https://path/d0ef559473a061086592bceed0880a01.png"}]'); echo json_encode(array_map(fn($value) => (object) ['url' => $value], array_column($array, 'file_path')), JSON_PRETTY_PRINT);

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.60.0100.00816.57
8.5.50.0110.00716.49
8.5.30.0110.00619.30
8.5.20.0120.00619.47
8.5.10.0050.00320.32
8.5.00.0120.01020.26
8.4.210.0050.00421.42
8.4.180.0160.00525.62
8.4.170.0110.01219.68
8.4.160.0080.01323.85
8.4.150.0060.00616.80
8.4.140.0160.00917.66
8.4.130.0060.00517.89
8.4.120.0110.00922.34
8.4.110.0140.00618.91
8.4.100.0130.00817.78
8.4.90.0110.01017.70
8.4.80.0140.00622.60
8.4.70.0110.00917.82
8.4.60.0040.00418.72
8.4.50.0100.01017.70
8.4.40.0100.01019.23
8.4.30.0030.00718.62
8.4.20.0100.00725.75
8.4.10.0060.00323.85
8.3.300.0130.00822.66
8.3.290.0150.00818.33
8.3.280.0140.00618.41
8.3.270.0110.00816.54
8.3.260.0120.00716.70
8.3.250.0100.00918.76
8.3.240.0060.01016.52
8.3.230.0070.01216.52
8.3.220.0040.00419.29
8.3.210.0100.00816.63
8.3.200.0030.00616.36
8.3.190.0100.00816.63
8.3.180.0110.00816.70
8.3.170.0100.00719.00
8.3.160.0070.01119.13
8.3.150.0060.01317.31
8.3.140.0070.00719.10
8.3.130.0090.00618.41
8.3.120.0100.01020.50
8.3.110.0030.00720.94
8.3.100.0030.00624.06
8.3.90.0140.00426.77
8.3.80.0050.00518.31
8.3.70.0060.00916.63
8.3.60.0120.00416.63
8.3.50.0140.00716.46
8.3.40.0160.00320.46
8.3.30.0090.00618.70
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0000.00726.16
8.2.300.0150.00617.92
8.2.290.0110.00420.55
8.2.280.0100.01018.64
8.2.270.0090.00916.56
8.2.260.0110.00717.03
8.2.250.0120.00618.28
8.2.240.0090.00020.65
8.2.230.0060.00322.58
8.2.220.0090.00037.54
8.2.210.0090.00626.77
8.2.200.0090.00018.29
8.2.190.0120.00616.58
8.2.180.0030.01218.54
8.2.170.0110.00818.91
8.2.160.0130.00322.96
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0080.00026.16
8.2.110.0090.00019.30
8.2.100.0040.00717.91
8.2.90.0030.00719.76
8.2.80.0030.00519.20
8.2.70.0060.00317.50
8.2.60.0100.00018.04
8.2.50.0040.00418.07
8.2.40.0040.00719.88
8.2.30.0060.00318.01
8.2.20.0000.00819.28
8.2.10.0160.00017.61
8.2.00.0130.00517.79
8.1.340.0110.00917.66
8.1.330.0120.00622.13
8.1.320.0100.00816.17
8.1.310.0140.00316.94
8.1.300.0110.00719.78
8.1.290.0090.00030.84
8.1.280.0080.00825.92
8.1.270.0020.00524.66
8.1.260.0030.00326.35
8.1.250.0040.00428.09
8.1.240.0160.01021.95
8.1.230.0080.00322.63
8.1.220.0050.00317.74
8.1.210.0030.00618.87
8.1.200.0030.00617.25
8.1.190.0040.00417.22
8.1.180.0000.00818.10
8.1.170.0000.00919.02
8.1.160.0030.00518.78
8.1.150.0000.00718.65
8.1.140.0080.00817.33
8.1.130.0080.00417.38
8.1.120.0080.00417.37
8.1.110.0110.00417.56
8.1.100.0100.00817.45
8.1.90.0140.00317.59
8.1.80.0130.00417.52
8.1.70.0140.00317.45
8.1.60.0200.00017.64
8.1.50.0200.00317.59
8.1.40.0050.01517.68
8.1.30.0150.00517.64
8.1.20.0110.00717.57
8.1.10.0160.00417.52
8.1.00.0100.01317.53
8.0.300.0000.00820.04
8.0.290.0070.00016.75
8.0.280.0000.00718.37
8.0.270.0110.00416.75
8.0.260.0110.00516.73
8.0.250.0100.00716.79
8.0.240.0140.00216.89
8.0.230.0070.00716.69
8.0.220.0140.00416.72
8.0.210.0000.01316.55
8.0.200.0050.01016.88
8.0.190.0030.01016.77
8.0.180.0090.00616.74
8.0.170.0090.00616.87
8.0.160.0070.00816.86
8.0.150.0100.00616.78
8.0.140.0110.00616.80
8.0.130.0130.00316.72
8.0.120.0130.00016.80
8.0.110.0070.00716.79
8.0.100.0070.00716.87
8.0.90.0130.00316.68
8.0.80.0110.00516.74
8.0.70.0040.00816.81
8.0.60.0110.00416.82
8.0.50.0070.00416.86
8.0.30.0050.01116.84
8.0.20.0120.00016.91
8.0.10.0100.00617.00

preferences:
44.65 ms | 1137 KiB | 5 Q