3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = json_decode('[ { "birth_place": "Administrasi Jakarta Barat", "jumlah_data_user": "3", "id": "716,764,922", "name": "Elvina Nuraini,Rina Kezia Novitasari,Viktor Firmansyah M.Pd", "birth_date": "1975-08-28,1988-06-07,1989-05-13", "gender": "female,female,male" }, { "birth_place": "Administrasi Jakarta Pusat", "jumlah_data_user": "2", "id": "993,866", "name": "Mursinin Banawa Marbun M.Pd,Ibrahim Gunawan", "birth_date": "1991-12-27,1995-01-01", "gender": "male,male" } ]', true); var_export( array_map( fn($row) => [ 'birth_place' => $row['birth_place'], 'jumlah_data_user' => $row['jumlah_data_user'], 'users' => array_map( fn(...$cols) => array_combine(['id', 'name', 'birth_date', 'gender'], $cols), explode(',', $row['id']), explode(',', $row['name']), explode(',', $row['birth_date']), explode(',', $row['gender']) ) ], $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.00.0130.00820.19
8.4.150.0010.00114.05
8.4.140.0120.01017.55
8.4.130.0140.00618.79
8.4.120.0090.01122.21
8.4.110.0130.00718.79
8.4.100.0110.00917.68
8.4.90.0120.00920.88
8.4.80.0110.00819.07
8.4.70.0130.00818.88
8.4.60.0150.00718.61
8.4.50.0110.00919.35
8.4.40.0000.00919.44
8.4.30.0070.01120.58
8.4.20.0050.00319.54
8.4.10.0090.00023.86
8.3.280.0110.00918.54
8.3.270.0120.00916.62
8.3.260.0040.00416.55
8.3.250.0100.00919.16
8.3.240.0140.00516.83
8.3.230.0040.00516.66
8.3.220.0060.00618.80
8.3.210.0090.00816.57
8.3.200.0060.00316.61
8.3.190.0090.00717.19
8.3.180.0090.00916.75
8.3.170.0140.00318.99
8.3.160.0110.00720.72
8.3.150.0130.00620.41
8.3.140.0060.01216.75
8.3.130.0080.00018.26
8.3.120.0080.01219.02
8.3.110.0060.00320.94
8.3.100.0100.01024.06
8.3.90.0130.00326.77
8.3.80.0000.01016.50
8.3.70.0160.00018.43
8.3.60.0180.00418.30
8.3.50.0040.01416.72
8.3.40.0130.00020.32
8.3.30.0030.01218.54
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.290.0120.00718.99
8.2.280.0130.00718.45
8.2.270.0100.01020.69
8.2.260.0080.00517.25
8.2.250.0080.00818.39
8.2.240.0080.00317.04
8.2.230.0110.00322.58
8.2.220.0030.00637.54
8.2.210.0110.00826.77
8.2.200.0060.00316.25
8.2.190.0150.00716.58
8.2.180.0090.00916.75
8.2.170.0060.00918.93
8.2.160.0060.00922.96
8.2.150.0000.00725.66
8.2.140.0070.00324.66
8.2.130.0050.00326.16
8.2.120.0040.00426.16
8.2.110.0030.00621.01
8.2.100.0060.00617.91
8.2.90.0050.00317.75
8.2.80.0080.00018.77
8.2.70.0030.00617.63
8.2.60.0000.00917.93
8.2.50.0030.00618.07
8.2.40.0060.00318.16
8.2.30.0040.00418.03
8.2.20.0100.00717.67
8.2.10.0130.00317.69
8.2.00.0000.01617.88
8.1.330.0120.00716.17
8.1.320.0120.00617.77
8.1.310.0040.01418.52
8.1.300.0090.00618.71
8.1.290.0090.00018.88
8.1.280.0060.00925.92
8.1.270.0050.00324.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00621.82
8.1.230.0040.00720.99
8.1.220.0030.00617.74
8.1.210.0090.00018.77
8.1.200.0040.00417.25
8.1.190.0000.01017.35
8.1.180.0030.00618.10
8.1.170.0030.00518.52
8.1.160.0000.00718.89
8.1.150.0130.00317.34
8.1.140.0090.00617.47
8.1.130.0170.00017.37
8.1.120.0110.00517.45
8.1.110.0130.00317.60
8.1.100.0120.00417.54
8.1.90.0080.00817.54
8.1.80.0080.00817.44
8.1.70.0130.00317.45
8.1.60.0180.00017.59
8.1.50.0120.00617.54
8.1.40.0130.00617.63
8.1.30.0140.00517.65
8.1.20.0110.00817.62
8.1.10.0150.00417.60
8.1.00.0110.00717.54
8.0.300.0080.00018.77
8.0.290.0030.00516.75
8.0.280.0000.00718.47
8.0.270.0120.00416.86
8.0.260.0100.00516.94
8.0.250.0040.00816.82
8.0.240.0100.00316.95
8.0.230.0080.00816.91
8.0.220.0040.01116.82
8.0.210.0070.00716.82
8.0.200.0080.00616.87
8.0.190.0110.00016.87
8.0.180.0100.00316.86
8.0.170.0100.00516.95
8.0.160.0090.00516.88
8.0.150.0060.00616.82
8.0.140.0080.00516.82
8.0.130.0110.00516.88
8.0.120.0160.00016.82
8.0.110.0070.00716.83
8.0.100.0070.00716.82
8.0.90.0100.00516.82
8.0.80.0120.00216.92
8.0.70.0100.00516.94
8.0.60.0100.00516.83
8.0.50.0090.00616.88
8.0.30.0080.00816.84
8.0.20.0110.00316.86
8.0.10.0120.00417.01

preferences:
38.45 ms | 403 KiB | 5 Q