3v4l.org

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

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.3.80.0090.00017.97
8.3.70.0140.00718.20
8.3.60.0100.00616.48
8.3.50.0150.00618.61
8.3.40.0070.00720.34
8.3.30.0170.00318.75
8.3.20.0070.00024.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.200.0090.00016.50
8.2.190.0150.00616.63
8.2.180.0090.00916.75
8.2.170.0180.00018.91
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00426.16
8.2.110.0080.00320.54
8.2.100.0080.00417.78
8.2.90.0040.00419.36
8.2.80.0040.00417.97
8.2.70.0040.00417.59
8.2.60.0030.00618.16
8.2.50.0070.00418.07
8.2.40.0060.00320.07
8.2.30.0000.00718.06
8.2.20.0070.00019.20
8.2.10.0120.00417.70
8.2.00.0060.00617.73
8.1.290.0040.00430.84
8.1.280.0140.00025.92
8.1.270.0040.00424.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0100.00020.93
8.1.230.0040.00717.83
8.1.220.0030.00517.74
8.1.210.0000.00918.77
8.1.200.0030.00617.25
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0090.00018.84
8.1.160.0040.00418.81
8.1.150.0070.00018.56
8.1.140.0110.00417.50
8.1.130.0100.00217.36
8.1.120.0060.00817.51
8.1.110.0040.01217.58
8.1.100.0090.00617.52
8.1.90.0090.00917.48
8.1.80.0140.00317.43
8.1.70.0150.00317.42
8.1.60.0190.00217.69
8.1.50.0130.00617.46
8.1.40.0160.00417.52
8.1.30.0210.00017.66
8.1.20.0170.00617.64
8.1.10.0070.01517.64
8.1.00.0160.00417.57
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.44
8.0.270.0040.01216.91
8.0.260.0110.00516.78
8.0.250.0120.00616.72
8.0.240.0100.00816.81
8.0.230.0100.00516.82
8.0.220.0160.00016.74
8.0.210.0090.00416.55
8.0.200.0060.00916.87
8.0.190.0100.00316.93
8.0.180.0100.00416.90
8.0.170.0130.00316.86
8.0.160.0120.00616.76
8.0.150.0130.00316.85
8.0.140.0140.00316.79
8.0.130.0100.00716.84
8.0.120.0000.01216.83
8.0.110.0080.00616.70
8.0.100.0000.01716.69
8.0.90.0150.00016.74
8.0.80.0070.00716.64
8.0.70.0070.00716.82
8.0.60.0150.00016.81
8.0.50.0100.00016.71
8.0.30.0070.00716.78
8.0.20.0110.00416.99
8.0.10.0100.00616.98

preferences:
26.2 ms | 401 KiB | 5 Q