3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datos = array( "Nombre" => "Adrian", "Apellido" => "MadroƱal", "Nacionalidad" => "Argentino", "Edad" => 28, "Telefono" => array( 'Casa' => array('cod' => '011', 'tel' => '45565486'), 'Trabajo' => array('cod' => '011', 'tel' => '5548846'), 'Celular' => '32154846' ) ); foreach ($datos as $elementos => $data){ echo $elementos. ": ". $data. "<br>"; } if (is_array($data)){ foreach($data as $mas){ echo $mas. "<br>"; } } else { echo "no"; } ?>

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.40.0070.00718.61
8.3.30.0100.00318.92
8.3.20.0040.00420.21
8.3.10.0080.00823.70
8.3.00.0000.00820.72
8.2.170.0060.00922.96
8.2.160.0070.00722.05
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00726.16
8.2.120.0070.00022.16
8.2.110.0090.00022.25
8.2.100.0080.00417.91
8.2.90.0000.00819.09
8.2.80.0050.00317.97
8.2.70.0080.00017.38
8.2.60.0080.00018.05
8.2.50.0030.00918.07
8.2.40.0050.00319.37
8.2.30.0000.00717.97
8.2.20.0040.00417.71
8.2.10.0000.00817.68
8.2.00.0080.00317.75
8.1.270.0040.00423.71
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.74
8.1.230.0080.00419.09
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0050.00317.40
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0070.00022.00
8.1.150.0070.00018.69
8.1.140.0040.00417.37
8.1.130.0030.00517.71
8.1.120.0030.00317.51
8.1.110.0040.00417.41
8.1.100.0050.00317.52
8.1.90.0000.00817.44
8.1.80.0050.00317.45
8.1.70.0000.00717.39
8.1.60.0060.00317.60
8.1.50.0040.00417.42
8.1.40.0000.00817.51
8.1.30.0060.00317.62
8.1.20.0000.00817.52
8.1.10.0040.00417.49
8.1.00.0000.00717.34
8.0.300.0070.00018.77
8.0.290.0070.00017.05
8.0.280.0000.00718.49
8.0.270.0070.00017.18
8.0.260.0000.00816.95
8.0.250.0030.00316.97
8.0.240.0040.00417.02
8.0.230.0080.00017.07
8.0.220.0000.00717.00
8.0.210.0030.00317.00
8.0.200.0030.00317.01
8.0.190.0040.00417.00
8.0.180.0070.00016.92
8.0.170.0030.00516.97
8.0.160.0030.00516.92
8.0.150.0000.00716.92
8.0.140.0040.00416.93
8.0.130.0000.00513.38
8.0.120.0000.00817.00
8.0.110.0040.00416.91
8.0.100.0050.00316.93
8.0.90.0040.00416.84
8.0.80.0070.01116.93
8.0.70.0040.00416.96
8.0.60.0000.00717.07
8.0.50.0040.00417.01
8.0.30.0090.01217.21
8.0.20.0130.00917.40
8.0.10.0040.00417.12
8.0.00.0090.00816.77
7.4.330.0000.00615.09
7.4.320.0030.00316.42
7.4.300.0000.00616.49
7.4.290.0030.00316.53
7.4.280.0000.00716.58
7.4.270.0000.00716.57
7.4.260.0030.00316.50
7.4.250.0000.00716.56
7.4.240.0020.00516.52
7.4.230.0000.00716.54
7.4.220.0130.01016.56
7.4.210.0060.00916.52
7.4.200.0030.00316.61
7.4.190.0000.00716.70
7.4.160.0120.00416.45
7.4.150.0140.00417.40
7.4.140.0110.00717.86
7.4.130.0040.01316.66
7.4.120.0120.00616.54
7.4.110.0140.00316.39
7.4.100.0030.01316.46
7.4.90.0150.00716.25
7.4.80.0120.00416.43
7.4.70.0170.00016.52
7.4.60.0070.01016.47
7.4.50.0030.00616.39
7.4.40.0080.00822.77
7.4.30.0110.00516.66
7.4.10.0160.00314.87
7.4.00.0090.00714.85
7.3.330.0000.00613.06
7.3.320.0000.00513.31
7.3.310.0030.00316.20
7.3.300.0000.00616.31
7.3.290.0000.01416.29
7.3.280.0070.01116.33
7.3.270.0090.00917.40
7.3.260.0110.00616.33
7.3.250.0140.00716.48
7.3.240.0120.00616.60
7.3.230.0120.00616.39
7.3.210.0090.00916.43
7.3.200.0080.00819.39
7.3.190.0110.01116.43
7.3.180.0110.00416.43
7.3.170.0070.01416.63
7.3.160.0150.00016.48
7.3.130.0060.00914.77
7.3.120.0060.01015.03
7.3.110.0150.00314.84
7.3.100.0130.00014.99
7.3.90.0030.01014.74
7.3.80.0070.00414.76
7.3.70.0000.01214.66
7.3.60.0120.00314.52
7.3.50.0090.00014.68
7.3.40.0060.00314.84
7.3.30.0070.00714.80
7.3.20.0060.00916.79
7.3.10.0060.00716.73
7.3.00.0070.00716.67
7.2.330.0000.01816.81
7.2.320.0090.01216.54
7.2.310.0170.00316.76
7.2.300.0080.01016.41
7.2.290.0000.01716.69
7.2.260.0040.01514.95
7.2.250.0080.00614.78
7.2.240.0060.00915.20
7.2.230.0030.00914.77
7.2.220.0060.01414.86
7.2.210.0040.01114.80
7.2.200.0040.01114.99
7.2.190.0130.00314.91
7.2.180.0030.01314.91
7.2.170.0090.00314.91
7.2.160.0030.00715.04
7.2.150.0000.01516.71
7.2.140.0100.00716.89
7.2.130.0070.00616.77
7.2.120.0070.00716.97
7.2.110.0060.01016.53
7.2.100.0080.00916.70
7.2.90.0050.01016.88
7.2.80.0050.00916.93
7.2.70.0000.01417.04
7.2.60.0030.00816.81
7.2.50.0030.01116.75
7.2.40.0040.00916.80
7.2.30.0070.00516.80
7.2.20.0100.00516.72
7.2.10.0050.00916.80
7.2.00.0050.00717.73
7.1.330.0110.00415.65
7.1.320.0060.00615.79
7.1.310.0140.00315.77
7.1.300.0100.00715.50
7.1.290.0030.00915.66
7.1.280.0000.01315.61
7.1.270.0090.00315.87
7.1.260.0030.01315.57
7.1.250.0050.00715.76
7.1.240.0070.00315.77
7.1.230.0070.01115.71
7.1.220.0070.01015.74
7.1.210.0030.01015.95
7.1.200.0030.01315.60
7.1.190.0030.01015.71
7.1.180.0060.00615.62
7.1.170.0130.00015.75
7.1.160.0030.00915.67
7.1.150.0070.00715.77
7.1.140.0060.00915.65
7.1.130.0120.00615.78
7.1.120.0030.01015.93
7.1.110.0070.00715.89
7.1.100.0050.00816.76
7.1.90.0120.00415.48
7.1.80.0030.01115.73
7.1.70.0070.00316.46
7.1.60.0120.00617.36
7.1.50.0060.01116.27
7.1.40.0030.01015.95
7.1.30.0030.00915.62
7.1.20.0070.00715.81
7.1.10.0080.00615.71
7.1.00.0070.04019.01
7.0.330.0150.00015.37
7.0.320.0100.00715.44
7.0.310.0060.00615.55
7.0.300.0040.00415.12
7.0.290.0040.00715.36
7.0.280.0060.00615.27
7.0.270.0110.00615.06
7.0.260.0060.00615.34
7.0.250.0070.00315.45
7.0.240.0050.00515.44
7.0.230.0080.00815.26
7.0.220.0030.00815.29
7.0.210.0000.01615.02
7.0.200.0000.01316.03
7.0.190.0000.01315.54
7.0.180.0060.00615.19
7.0.170.0000.00815.37
7.0.160.0050.00515.38
7.0.150.0070.00315.36
7.0.140.0030.04218.62
7.0.130.0080.00815.42
7.0.120.0030.01315.38
7.0.110.0370.03817.58
7.0.100.0330.04017.59
7.0.90.0300.03317.50
7.0.80.0250.03917.63
7.0.70.0250.03417.80
7.0.60.0220.02417.72
7.0.50.0020.04217.79
7.0.40.0090.03716.66
7.0.30.0060.04216.63
7.0.20.0030.02416.57
7.0.10.0050.04216.66
7.0.00.0050.04516.54
5.6.400.0000.01114.24
5.6.390.0080.00414.35
5.6.380.0040.00714.44
5.6.370.0000.01214.35
5.6.360.0000.01214.20
5.6.350.0100.00614.51
5.6.340.0040.00714.62
5.6.330.0030.00914.56
5.6.320.0030.01414.18
5.6.310.0090.00914.37
5.6.300.0000.01714.09
5.6.290.0030.01314.22
5.6.280.0060.03917.74
5.6.270.0070.00714.31
5.6.260.0050.03817.49
5.6.250.0050.04517.53
5.6.240.0100.04217.50
5.6.230.0070.03517.46
5.6.220.0050.03217.48
5.6.210.0090.04417.45
5.6.200.0080.02517.52
5.6.190.0000.04717.44
5.6.180.0030.04717.33
5.6.170.0110.03217.32
5.6.160.0130.02617.46
5.6.150.0050.04417.53
5.6.140.0090.02417.50
5.6.130.0030.02417.50
5.6.120.0070.02017.53
5.6.110.0080.04217.41
5.6.100.0050.02317.39
5.6.90.0050.02117.52
5.6.80.0070.04217.25
5.6.70.0070.03817.09
5.6.60.0050.02617.13
5.6.50.0050.02917.11
5.6.40.0100.02217.02
5.6.30.0030.02817.00
5.6.20.0070.04716.98
5.6.10.0080.03817.23
5.6.00.0080.03616.99
5.5.380.0070.02515.90
5.5.370.0090.03915.85
5.5.360.0070.04115.96
5.5.350.0070.02215.71
5.5.340.0080.04016.21
5.5.330.0050.03416.05
5.5.320.0060.03016.07
5.5.310.0030.03816.19
5.5.300.0060.02016.09
5.5.290.0120.02016.20
5.5.280.0120.03716.32
5.5.270.0050.02816.17
5.5.260.0050.02316.22
5.5.250.0080.04015.96
5.5.240.0060.04015.95
5.5.230.0110.03315.82
5.5.220.0040.02515.88
5.5.210.0080.03815.82
5.5.200.0020.03315.67
5.5.190.0090.03315.81
5.5.180.0080.04315.89
5.5.170.0070.00714.02
5.5.160.0150.03315.82
5.5.150.0030.03215.85
5.5.140.0070.03815.66
5.5.130.0080.04215.68
5.5.120.0050.03915.98
5.5.110.0030.03915.66
5.5.100.0090.03015.80
5.5.90.0050.03315.77
5.5.80.0050.02715.63
5.5.70.0050.02615.78
5.5.60.0070.03815.68
5.5.50.0020.02715.66
5.5.40.0050.03815.77
5.5.30.0100.03515.83
5.5.20.0060.02615.78
5.5.10.0050.04215.68
5.5.00.0150.03515.74
5.4.450.0030.04215.33
5.4.440.0030.04215.27
5.4.430.0050.03915.29
5.4.420.0050.03915.23
5.4.410.0020.02215.01
5.4.400.0000.03115.03
5.4.390.0070.03515.01
5.4.380.0090.03014.97
5.4.370.0070.04315.04
5.4.360.0070.03814.85
5.4.350.0050.03715.08
5.4.340.0110.03815.22
5.4.330.0090.00310.94
5.4.320.0040.02315.07
5.4.310.0020.02414.95
5.4.300.0060.02315.05
5.4.290.0040.03815.16
5.4.280.0090.02515.00
5.4.270.0070.04014.84
5.4.260.0120.03314.94
5.4.250.0100.03515.04
5.4.240.0030.03914.80
5.4.230.0080.03515.04
5.4.220.0040.04814.81
5.4.210.0060.03315.09
5.4.200.0070.04214.84
5.4.190.0050.03715.03
5.4.180.0090.02014.91
5.4.170.0020.04615.04
5.4.160.0080.03514.93
5.4.150.0070.03715.04
5.4.140.0030.03513.76
5.4.130.0070.01713.63
5.4.120.0050.03213.73
5.4.110.0050.04013.69
5.4.100.0020.02713.69
5.4.90.0030.03313.73
5.4.80.0030.03513.49
5.4.70.0080.03713.68
5.4.60.0040.03813.62
5.4.50.0020.04413.77
5.4.40.0050.04013.76
5.4.30.0100.03613.73
5.4.20.0050.02313.62
5.4.10.0080.03313.56
5.4.00.0030.03813.52
5.3.290.0050.02012.58
5.3.280.0100.01712.36
5.3.270.0050.04312.45
5.3.260.0030.03512.54
5.3.250.0040.03912.58
5.3.240.0000.04012.49
5.3.230.0050.03812.53
5.3.220.0100.03012.40
5.3.210.0030.03912.51
5.3.200.0050.03212.27
5.3.190.0030.02512.55
5.3.180.0040.02412.50
5.3.170.0100.03012.46
5.3.160.0080.02812.59
5.3.150.0030.02812.48
5.3.140.0070.03712.44
5.3.130.0070.04312.41
5.3.120.0080.03912.43
5.3.110.0100.03612.44
5.3.100.0050.04012.25
5.3.90.0030.03612.24
5.3.80.0070.02412.22
5.3.70.0030.04012.21
5.3.60.0050.03712.14
5.3.50.0070.01812.17
5.3.40.0030.03012.05
5.3.30.0000.04212.17
5.3.20.0050.02011.91
5.3.10.0030.03311.97
5.3.00.0020.03012.03
5.2.170.0100.03312.07
5.2.160.0000.03012.07
5.2.150.0030.03312.07
5.2.140.0030.05012.07
5.2.130.0030.03712.07
5.2.120.0100.02712.07
5.2.110.0030.05012.07
5.2.100.0070.06012.07
5.2.90.0000.04012.07
5.2.80.0070.05012.07
5.2.70.0000.06712.07
5.2.60.0000.05312.07
5.2.50.0000.03712.07
5.2.40.0030.03012.07
5.2.30.0030.05012.07
5.2.20.0030.06312.07
5.2.10.0030.06012.07
5.2.00.0070.05312.07
5.1.60.0030.04012.07
5.1.50.0130.04312.07
5.1.40.0030.05312.07
5.1.30.0030.05712.07
5.1.20.0000.03312.07
5.1.10.0100.05012.07
5.1.00.0030.03012.07
5.0.50.0000.03012.07
5.0.40.0000.04712.07
5.0.30.0000.05312.07
5.0.20.0070.02712.07
5.0.10.0030.03312.07
5.0.00.0000.03712.07
4.4.90.0030.03712.07
4.4.80.0000.02012.07
4.4.70.0000.01712.07
4.4.60.0030.02712.07
4.4.50.0000.03312.07
4.4.40.0000.05312.07
4.4.30.0030.03012.07
4.4.20.0100.02312.07
4.4.10.0030.03012.07
4.4.00.0100.04712.07
4.3.110.0030.03712.07
4.3.100.0130.02712.07
4.3.90.0000.02012.07
4.3.80.0030.04712.07
4.3.70.0000.02712.07
4.3.60.0030.02312.07
4.3.50.0000.03712.07
4.3.40.0000.05312.07
4.3.30.0000.02012.07
4.3.20.0030.03312.07
4.3.10.0030.03012.07
4.3.00.0000.03712.07

preferences:
50.65 ms | 400 KiB | 5 Q