3v4l.org

run code in 500+ PHP versions simultaneously
<?php $first = array ( '2022-10-23' => array ( 'id' => 10, 'user_id' => 1, 'notitie' => 'Mag niet !', 'datum' => '2022-10-23', 'user_role' => 'client', ), '2022-10-24' => array ( 'id' => 11, 'user_id' => 1, 'notitie' => 'Mag al helemaal niet ', 'datum' => '2022-10-24', 'user_role' => 'client', ), '2022-10-25' => array ( 'datum' => '2022-10-25', ), '2022-10-26' => array ( 'id' => 15, 'user_id' => 1, 'notitie' => '26', 'datum' => '2022-10-26', 'user_role' => 'client', ), '2022-10-27' => array ( 'datum' => '2022-10-27', ), '2022-10-28' => array ( 'datum' => '2022-10-28', ), '2022-10-29' => array ( 'datum' => '2022-10-29', ), ); $second = array ( '2022-10-23' => array ( 'id_therapeut' => 4, 'client_id' => 1, 'notitie_therapeut' => 'volgende week', 'datum_therapeut' => '2022-10-23', ), '2022-10-26' => array ( 'id_therapeut' => 5, 'client_id' => 1, 'notitie_therapeut' => 'ff', 'datum_therapeut' => '2022-10-26', ), '2022-10-28' => array ( 'id_therapeut' => 5, 'client_id' => 1, 'notitie_therapeut' => 'ff', 'datum_therapeut' => '2022-10-28', ), ); $result = []; foreach ($first as $date => $row) { $result[$date][] = [$date => $row]; } foreach ($second as $date => $row) { $result[$date][] = [$date => $row]; } var_export($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.60.0030.00516.75
8.5.50.0120.00516.77
8.5.30.0110.00721.15
8.5.20.0110.00619.73
8.5.10.0050.00221.80
8.5.00.0130.00920.23
8.4.210.0030.00621.16
8.4.180.0150.00619.62
8.4.170.0140.00823.79
8.4.160.0090.01423.96
8.4.150.0060.00616.79
8.4.140.0150.00717.62
8.4.130.0080.01017.86
8.4.120.0110.01022.27
8.4.110.0150.00522.71
8.4.100.0100.00917.46
8.4.90.0160.00518.60
8.4.80.0100.00717.75
8.4.70.0160.00417.89
8.4.60.0100.01123.93
8.4.50.0050.00418.51
8.4.40.0100.00917.91
8.4.30.0130.00618.89
8.4.20.0100.01017.76
8.4.10.0060.01324.03
8.3.300.0090.01120.75
8.3.290.0140.00818.51
8.3.280.0110.00918.63
8.3.270.0090.01016.55
8.3.260.0120.00716.48
8.3.250.0060.00318.98
8.3.240.0140.00716.63
8.3.230.0100.00816.63
8.3.220.0110.00717.27
8.3.210.0050.00218.31
8.3.200.0070.00216.64
8.3.190.0140.00617.08
8.3.180.0120.00816.70
8.3.170.0090.00917.02
8.3.160.0060.01216.74
8.3.150.0100.01018.32
8.3.140.0060.00319.14
8.3.130.0040.00418.45
8.3.120.0060.00320.96
8.3.110.0110.00416.75
8.3.100.0080.00016.70
8.3.90.0040.01526.77
8.3.80.0060.00316.50
8.3.70.0040.01116.58
8.3.60.0070.00716.88
8.3.50.0070.00720.09
8.3.40.0070.00720.52
8.3.30.0080.00818.67
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0090.00026.16
8.2.300.0120.00720.50
8.2.290.0030.00620.54
8.2.280.0110.00818.28
8.2.270.0060.00317.27
8.2.260.0120.00616.69
8.2.250.0030.00616.75
8.2.240.0030.00617.19
8.2.230.0060.00320.94
8.2.220.0080.00024.06
8.2.210.0030.00626.77
8.2.200.0060.00316.88
8.2.190.0150.00316.75
8.2.180.0000.01525.92
8.2.170.0060.01219.13
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00026.16
8.2.110.0090.00020.94
8.2.100.0120.00019.23
8.2.90.0050.00318.03
8.2.80.0040.00418.86
8.2.70.0050.00317.63
8.2.60.0040.00417.75
8.2.50.0040.00418.05
8.2.40.0080.00020.04
8.2.30.0080.00018.14
8.2.20.0040.00419.32
8.2.10.0050.00218.02
8.2.00.0000.00819.24
8.1.340.0120.00717.33
8.1.330.0120.00922.02
8.1.320.0110.00915.97
8.1.310.0080.00018.30
8.1.300.0040.00420.13
8.1.290.0030.00618.88
8.1.280.0100.00725.92
8.1.270.0100.01023.77
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0050.00519.13
8.1.230.0070.00420.98
8.1.220.0000.00817.74
8.1.210.0040.00419.00
8.1.200.0060.00317.22
8.1.190.0060.00317.22
8.1.180.0080.00018.10
8.1.170.0030.00518.53
8.1.160.0040.00418.89
8.1.150.0040.00418.75
8.1.140.0070.00017.43
8.1.130.0040.00417.47
8.1.120.0000.00817.38
8.1.110.0070.00717.43
8.1.100.0120.00217.37
8.1.90.0080.00717.47
8.1.80.0040.01017.38
8.1.70.0100.00517.41
8.1.60.0000.01317.55
8.1.50.0090.00617.36
8.1.40.0180.00417.52
8.1.30.0100.01017.51
8.1.20.0120.00717.59
8.1.10.0110.00617.47
8.1.00.0150.00317.28
8.0.300.0040.00421.56
8.0.290.0000.00816.75
8.0.280.0030.00318.52
8.0.270.0040.00417.23
8.0.260.0000.00616.84
8.0.250.0000.00816.90
8.0.240.0090.01016.85
8.0.230.0120.00616.98
8.0.220.0130.00316.74
8.0.210.0100.00716.71
8.0.200.0100.00716.98
8.0.190.0150.00016.86
8.0.180.0090.00516.85
8.0.170.0120.00216.80
8.0.160.0100.00616.72
8.0.150.0080.01116.65
8.0.140.0110.00616.86
8.0.130.0110.00716.82
8.0.120.0110.00516.89
8.0.110.0120.00416.84
8.0.100.0050.01116.84
8.0.90.0100.00816.70
8.0.80.0050.01116.77
8.0.70.0080.00816.80
8.0.60.0120.00416.88
8.0.50.0150.00316.91
8.0.30.0090.00616.80
8.0.20.0110.00316.92
8.0.10.0120.00317.10
7.4.330.0050.00015.55
7.4.320.0130.00316.50
7.4.300.0180.00016.57
7.4.290.0070.01116.51
7.4.280.0160.00316.41
7.4.270.0150.00016.60
7.4.260.0110.00316.59
7.4.250.0080.00816.45
7.4.240.0080.00816.58
7.4.230.0070.00816.30
7.4.220.0100.00416.62
7.4.210.0070.00716.46
7.4.200.0130.00316.61
7.4.190.0070.00916.56
7.4.180.0110.00516.64
7.4.160.0110.00616.50
7.4.150.0070.00816.50
7.4.140.0090.00616.52
7.4.130.0130.00416.26
7.4.120.0060.01016.49
7.4.110.0090.00616.46
7.4.100.0120.00416.44
7.4.90.0060.01116.52
7.4.80.0140.00216.29
7.4.70.0110.00516.44
7.4.60.0140.00016.25
7.4.50.0080.00816.40
7.4.40.0150.00016.24
7.4.30.0070.00816.45
7.4.20.0150.00316.39
7.4.10.0100.00716.24
7.4.00.0110.00416.49

preferences:
78.45 ms | 1610 KiB | 5 Q