3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ "36736" => [ "meta" => [ "Closing Date" => "", "Technical Consultant" => "", "Client Name" => "", "Stage" => "Waiting for Technical Assignment", "Contract Name" => "", "Signing Rate" => "", "Contract Number" => "", "Client Number" => "", "Closer Name" => "", "Completed On" => "2019-05-23", "Assigned Date" => "05/22/2019 12:28 pm", ], ], ]; $keys = ["Client Name", "Client Number", "Contract Name", "Contract Number", "Stage", "Closing Date", "Technical Consultant", "Signing Rate", "Closer Name", "Completed On", "Assigned Date"]; foreach ($arr as $key => &$value) { // & defines changes will be reflected at its address in memory $value['meta'] = array_replace(array_flip($keys), $value["meta"]); } print_r($arr);die;

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.60.0110.00718.30
8.3.50.0100.01217.36
8.3.40.0150.00019.02
8.3.30.0040.01119.02
8.3.20.0110.00420.87
8.3.10.0110.00418.97
8.3.00.0050.00221.90
8.2.180.0070.00725.92
8.2.170.0070.00722.96
8.2.160.0070.00720.35
8.2.150.0040.00724.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00020.86
8.2.110.0030.00622.06
8.2.100.0120.00618.03
8.2.90.0040.00419.89
8.2.80.0000.00918.05
8.2.70.0030.00618.05
8.2.60.0030.00618.28
8.2.50.0030.00618.10
8.2.40.0050.00319.52
8.2.30.0040.00419.25
8.2.20.0050.00318.16
8.2.10.0080.00019.05
8.2.00.0000.00819.39
8.1.280.0070.01125.92
8.1.270.0080.00022.27
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00622.18
8.1.230.0060.00622.66
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0070.00417.36
8.1.190.0050.00317.35
8.1.180.0060.00318.10
8.1.170.0040.00418.46
8.1.160.0000.00718.88
8.1.150.0000.00818.82
8.1.140.0000.00718.94
8.1.130.0030.00320.18
8.1.120.0000.00917.35
8.1.110.0040.00417.36
8.1.100.0000.00717.46
8.1.90.0070.00017.39
8.1.80.0030.00517.47
8.1.70.0070.00017.50
8.1.60.0040.00417.60
8.1.50.0000.00717.56
8.1.40.0060.00317.54
8.1.30.0000.00917.65
8.1.20.0040.00417.69
8.1.10.0060.00317.60
8.1.00.0040.00417.40
8.0.300.0040.00419.73
8.0.290.0000.00716.75
8.0.280.0030.00318.46
8.0.270.0030.00317.26
8.0.260.0060.00018.39
8.0.250.0070.00016.86
8.0.240.0030.00317.01
8.0.230.0040.00416.98
8.0.220.0030.00516.91
8.0.210.0000.00716.98
8.0.200.0070.00017.00
8.0.190.0070.00016.91
8.0.180.0000.00717.02
8.0.170.0080.00016.95
8.0.160.0080.00016.98
8.0.150.0050.00216.78
8.0.140.0060.00316.91
8.0.130.0070.00013.38
8.0.120.0040.00416.97
8.0.110.0020.00516.80
8.0.100.0040.00416.86
8.0.90.0050.00216.75
8.0.80.0080.00816.91
8.0.70.0030.00516.82
8.0.60.0040.00417.01
8.0.50.0000.00716.77
8.0.30.0090.01116.97
8.0.20.0150.00417.13
8.0.10.0040.00417.12
8.0.00.0100.00916.84
7.4.330.0050.00015.55
7.4.320.0060.00016.52
7.4.300.0070.00016.55
7.4.290.0030.00316.61
7.4.280.0070.00216.38
7.4.270.0070.00016.55
7.4.260.0040.00816.56
7.4.250.0030.00316.56
7.4.240.0000.00816.59
7.4.230.0030.00316.70
7.4.220.0070.00016.68
7.4.210.0090.00616.64
7.4.200.0030.00316.60
7.4.160.0100.00716.53
7.4.130.0060.01216.59
7.4.120.0090.01216.45
7.4.110.0140.00316.65
7.4.100.0110.01216.46
7.4.90.0030.01316.66
7.4.80.0060.01219.39
7.4.70.0110.01116.41
7.4.60.0070.01016.41
7.4.50.0100.00316.44
7.4.40.0100.00716.73
7.4.00.0110.00715.12
7.3.330.0050.00013.29
7.3.320.0000.00613.28
7.3.310.0000.00716.55
7.3.300.0000.00716.41
7.3.290.0080.00616.38
7.3.280.0090.00916.42
7.3.260.0120.00616.47
7.3.230.0060.01216.44
7.3.210.0070.01016.54
7.3.200.0120.00916.27
7.3.190.0030.01316.40
7.3.180.0120.00316.30
7.3.170.0120.00316.41
7.3.160.0070.01116.61
7.3.50.0090.00614.84
7.3.40.0000.01114.72
7.3.30.0080.01314.92
7.3.20.0200.00414.88
7.3.10.0080.01015.00
7.3.00.0130.00014.90
7.2.330.0130.00716.63
7.2.320.0120.01216.55
7.2.310.0100.00716.57
7.2.300.0110.01116.69
7.2.290.0110.00616.70
7.2.180.0100.00515.13
7.2.170.0110.01715.18
7.2.160.0000.01414.94
7.2.150.0210.00015.20
7.2.140.0170.00715.09
7.2.130.0140.00014.90
7.2.120.0100.01015.07
7.2.110.0160.00615.18
7.2.100.0140.00215.01
7.2.90.0130.00815.01
7.2.80.0130.00615.00
7.2.70.0110.01115.29
7.2.60.0100.01014.94
7.2.50.0180.00415.10
7.2.40.0120.00315.22
7.2.30.0110.00315.05
7.2.20.0180.00014.92
7.2.10.0070.01014.82
7.2.00.0100.00415.27
7.1.280.0100.00514.16
7.1.270.0170.00213.78
7.1.260.0180.00413.91
7.1.250.0070.00514.04

preferences:
33.18 ms | 401 KiB | 5 Q