3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = Array ( 257 => Array( "recaudacion" => "2017-10-07", "Contribuyentes Locales,Activid. Especiales y Salas de Recreacion" => "2017-10-16" ), 258=> array( "Impuestos de Sellos"=>"2017-10-10", "Declaracion Jurada anual 2016 Contribuyentes de convenio multilateral"=>"2017-10-00", "Recategorizacion cuatrimestral regimen simplificado"=>"2017-10-00" ) ); $newarray = Array(); foreach($arr as $firstkey => $arr2) { //$arr here is the variable that contains your array $newstring = ""; $first = true; foreach($arr2 as $key => $val) { $newstring .= ($first ? "" : "\r\n\r\n") . $key . " Vence: " . $val; $first = false; } $newarray[$firstkey] = $newstring; } var_dump($newarray);

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.00920.04
8.4.150.0020.00014.05
8.4.140.0110.01017.68
8.4.130.0110.00917.79
8.4.120.0100.01023.86
8.4.110.0070.00622.54
8.4.100.0150.00518.63
8.4.90.0100.00918.96
8.4.80.0130.00717.71
8.4.70.0050.00417.89
8.4.60.0110.00918.34
8.4.50.0100.01118.61
8.4.40.0060.01019.42
8.4.30.0130.01019.24
8.4.20.0160.00019.32
8.4.10.0030.00619.53
8.3.280.0100.01018.38
8.3.270.0100.00916.66
8.3.260.0090.00916.93
8.3.250.0120.00618.79
8.3.240.0150.00417.09
8.3.230.0100.01016.89
8.3.220.0090.00117.23
8.3.210.0120.00718.42
8.3.200.0040.00516.36
8.3.190.0100.00817.19
8.3.180.0060.00217.22
8.3.170.0060.01218.96
8.3.160.0000.00817.18
8.3.150.0110.00817.13
8.3.140.0000.01517.05
8.3.130.0040.00418.52
8.3.120.0070.01518.62
8.3.110.0090.00320.94
8.3.100.0040.00416.77
8.3.90.0030.00626.77
8.3.80.0070.00418.31
8.3.70.0070.01418.43
8.3.60.0210.00016.48
8.3.50.0120.00817.31
8.3.40.0150.00318.59
8.3.30.0110.00318.79
8.3.20.0040.00420.25
8.3.10.0040.00423.48
8.3.00.0070.00023.64
8.2.290.0120.00520.60
8.2.280.0120.00716.84
8.2.270.0000.01817.38
8.2.260.0090.00918.22
8.2.250.0080.00018.64
8.2.240.0060.01318.74
8.2.230.0080.00022.58
8.2.220.0060.00324.06
8.2.210.0040.00426.77
8.2.200.0070.00316.75
8.2.190.0070.00716.58
8.2.180.0150.00016.75
8.2.170.0120.00322.96
8.2.160.0070.00720.40
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0050.00222.25
8.2.120.0080.00026.35
8.2.110.0080.00320.92
8.2.100.0080.00317.72
8.2.90.0060.00318.03
8.2.80.0000.00818.05
8.2.70.0060.00317.93
8.2.60.0050.00218.05
8.2.50.0070.00018.34
8.2.40.0050.00320.48
8.2.30.0040.00420.98
8.2.20.0030.00618.12
8.2.10.0040.00418.19
8.2.00.0000.00818.06
8.1.330.0150.00422.09
8.1.320.0100.01016.06
8.1.310.0040.00416.88
8.1.300.0030.00617.88
8.1.290.0060.00330.84
8.1.280.0040.01125.92
8.1.270.0120.00622.05
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00423.96
8.1.230.0000.01120.88
8.1.220.0030.00617.79
8.1.210.0050.00318.77
8.1.200.0090.00017.35
8.1.190.0050.00517.21
8.1.180.0060.00318.10
8.1.170.0030.00618.53
8.1.160.0000.00818.84
8.1.150.0040.00418.84
8.1.140.0060.00319.58
8.1.130.0070.00018.85
8.1.120.0030.00517.38
8.1.110.0060.00317.35
8.1.100.0040.00417.32
8.1.90.0050.00317.48
8.1.80.0080.00317.37
8.1.70.0000.00717.39
8.1.60.0040.00417.62
8.1.50.0000.00817.52
8.1.40.0060.00617.53
8.1.30.0030.00717.56
8.1.20.0040.00417.63
8.1.10.0000.00817.50
8.1.00.0040.00417.46
8.0.300.0040.00421.52
8.0.290.0000.00716.75
8.0.280.0000.00718.52
8.0.270.0000.00717.31
8.0.260.0060.00016.74
8.0.250.0040.00316.96
8.0.240.0000.00716.84
8.0.230.0000.00716.94
8.0.220.0070.00016.91
8.0.210.0030.00316.96
8.0.200.0050.00516.84
8.0.190.0000.00816.86
8.0.180.0040.00416.83
8.0.170.0000.00816.82
8.0.160.0000.00716.88
8.0.150.0110.00016.89
8.0.140.0000.00716.91
8.0.130.0050.00013.30
8.0.120.0030.00516.77
8.0.110.0040.00416.74
8.0.100.0000.00816.75
8.0.90.0000.00716.79
8.0.80.0100.00716.95
8.0.70.0050.00216.84
8.0.60.0050.00216.84
8.0.50.0040.00417.01
8.0.30.0110.00717.03
8.0.20.0100.00817.40
8.0.10.0070.00016.89
8.0.00.0080.00816.64
7.4.330.0030.00316.62
7.4.320.0000.00616.43
7.4.300.0030.00316.55
7.4.290.0070.00016.54
7.4.280.0000.00716.59
7.4.270.0060.00016.62
7.4.260.0030.00316.54
7.4.250.0030.00516.51
7.4.240.0080.00016.54
7.4.230.0030.00316.51
7.4.220.0090.00916.55
7.4.210.0070.00916.56
7.4.200.0070.00016.62
7.4.160.0100.00616.60
7.4.150.0110.00717.40
7.4.140.0090.00917.86
7.4.130.0030.01416.55
7.4.120.0100.00816.53
7.4.110.0090.00916.53
7.4.100.0140.00416.36
7.4.90.0130.00316.50
7.4.80.0150.00619.39
7.4.70.0160.00716.39
7.4.60.0030.01216.64
7.4.50.0070.01116.63
7.4.40.0110.00616.28
7.4.30.0060.00916.50
7.4.00.0000.01415.05
7.3.330.0050.00013.05
7.3.320.0030.00313.18
7.3.310.0000.00716.26
7.3.300.0030.00316.30
7.3.290.0000.00816.25
7.3.280.0080.00816.36
7.3.270.0140.00617.40
7.3.260.0110.00816.32
7.3.250.0120.00816.42
7.3.240.0060.01116.34
7.3.230.0090.00916.56
7.3.210.0160.00616.66
7.3.200.0110.01116.67
7.3.190.0060.01016.63
7.3.180.0030.01216.35
7.3.170.0080.00816.36
7.3.160.0070.01516.56
7.2.330.0140.00416.50
7.2.320.0140.00316.60
7.2.310.0060.01216.73
7.2.300.0090.00916.58
7.2.290.0030.01316.68
7.2.60.0060.00617.00
7.1.200.0070.00315.66
7.1.110.0060.01018.02
7.1.100.0090.01318.05
7.1.90.0040.01118.21
7.1.80.0080.00518.39
7.1.70.0040.00917.16
7.1.60.0180.01235.29
7.1.50.0310.00735.02
7.1.40.0190.01034.57
7.1.30.0170.01034.47
7.1.20.0160.01034.47
7.1.10.0060.00716.56
7.1.00.0060.00616.77
7.0.250.0030.00917.67
7.0.240.0030.01017.95
7.0.230.0060.00617.69
7.0.220.0030.00917.80
7.0.210.0030.01016.67
7.0.200.0030.01016.94
7.0.190.0080.00416.70
7.0.180.0030.00916.06
7.0.170.0030.01016.23
7.0.160.0090.00316.47
7.0.150.0000.01716.18
7.0.140.0090.00616.25
7.0.130.0030.00916.44
7.0.120.0120.01116.80
7.0.110.0090.00616.43
7.0.100.0040.01516.58
7.0.90.0000.01616.38
7.0.80.0120.00316.33
7.0.70.0070.01116.29
7.0.60.0120.00916.32
7.0.50.0130.00316.43
7.0.40.0030.01816.57
7.0.30.0030.01716.70
7.0.20.0060.00616.59
7.0.10.0030.01016.37
7.0.00.0060.00916.39

preferences:
166.36 ms | 403 KiB | 5 Q