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'), 'Celular' => array('cod' => '011', 'tel' => '5548846'), 'Trabajo' => '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.60.0110.00716.61
8.3.50.0080.00916.68
8.3.40.0120.00318.72
8.3.30.0080.00618.61
8.3.20.0090.00018.64
8.3.10.0060.00318.71
8.3.00.0040.00419.38
8.2.180.0040.01116.38
8.2.170.0110.00322.96
8.2.160.0130.00318.91
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0100.00619.56
8.2.110.0060.00319.39
8.2.100.0060.00617.84
8.2.90.0050.00319.20
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0040.00418.03
8.2.50.0040.00418.04
8.2.40.0030.00519.23
8.2.30.0030.00617.60
8.2.20.0040.00417.64
8.2.10.0050.00317.70
8.2.00.0040.00417.62
8.1.280.0070.01025.92
8.1.270.0070.00023.99
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00622.62
8.1.230.0110.00017.82
8.1.220.0050.00317.79
8.1.210.0040.00418.77
8.1.200.0090.00017.35
8.1.190.0050.00317.35
8.1.180.0000.00818.10
8.1.170.0000.00817.62
8.1.160.0040.00418.89
8.1.150.0050.00318.63
8.1.140.0040.00417.52
8.1.130.0050.00217.46
8.1.120.0080.00317.54
8.1.110.0050.00317.50
8.1.100.0030.00317.48
8.1.90.0030.00317.38
8.1.80.0040.00417.35
8.1.70.0070.00017.35
8.1.60.0030.00517.49
8.1.50.0040.00417.36
8.1.40.0040.00417.42
8.1.30.0040.00417.57
8.1.20.0030.00517.52
8.1.10.0040.00417.54
8.1.00.0040.00417.43
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0000.00618.51
8.0.270.0070.00017.26
8.0.260.0030.00316.86
8.0.250.0040.00417.05
8.0.240.0000.00716.96
8.0.230.0040.00416.89
8.0.220.0100.00016.86
8.0.210.0070.00016.98
8.0.200.0060.00017.02
8.0.190.0000.00917.08
8.0.180.0030.00516.98
8.0.170.0000.00917.04
8.0.160.0030.00316.95
8.0.150.0030.00616.93
8.0.140.0040.00716.99
8.0.130.0000.00613.43
8.0.120.0040.00416.75
8.0.110.0080.00016.79
8.0.100.0050.00316.83
8.0.90.0030.00516.91
8.0.80.0100.01016.93
8.0.70.0070.00017.02
8.0.60.0080.00016.93
8.0.50.0000.00816.84
8.0.30.0040.01216.96
8.0.20.0100.01017.16
8.0.10.0040.00416.95
8.0.00.0120.00616.92
7.4.330.0000.00512.90
7.4.320.0000.00616.53
7.4.300.0000.00716.50
7.4.290.0030.00316.55
7.4.280.0000.00816.34
7.4.270.0000.00616.50
7.4.260.0000.00513.28
7.4.250.0040.00416.63
7.4.240.0030.00316.58
7.4.230.0030.00616.66
7.4.220.0080.00916.56
7.4.210.0130.00316.63
7.4.200.0000.00716.42
7.4.190.0040.00416.60
7.4.160.0120.00916.29
7.4.150.0070.01116.49
7.4.140.0050.01317.86
7.4.130.0100.01416.57
7.4.120.0090.01016.45
7.4.110.0140.01116.56
7.4.100.0060.01116.36
7.4.90.0100.00716.59
7.4.80.0120.01119.39
7.4.70.0030.01916.54
7.4.60.0110.00516.29
7.4.50.0030.00316.15
7.4.40.0040.00816.36
7.4.30.0090.00616.55
7.4.10.0160.00015.19
7.4.00.0070.01115.04
7.3.330.0060.00013.23
7.3.320.0070.00013.06
7.3.310.0000.00716.30
7.3.300.0030.00316.28
7.3.290.0080.00716.29
7.3.280.0120.00316.24
7.3.270.0140.00716.47
7.3.260.0070.01116.60
7.3.240.0060.01216.22
7.3.230.0150.00416.36
7.3.210.0150.00416.19
7.3.200.0090.00916.72
7.3.190.0100.00616.44
7.3.180.0120.00816.30
7.3.170.0110.00616.45
7.3.160.0030.01316.55
7.3.130.0100.01015.13
7.3.120.0020.01414.91
7.3.110.0060.01214.87
7.3.100.0060.00814.89
7.3.90.0030.00814.81
7.3.80.0030.00914.83
7.3.70.0050.00914.63
7.3.60.0010.00914.91
7.3.50.0040.00914.74
7.3.40.0080.00714.65
7.3.30.0050.00514.62
7.3.20.0040.00716.74
7.3.10.0000.01216.66
7.3.00.0030.00716.52
7.2.330.0090.00916.70
7.2.320.0090.00916.87
7.2.310.0190.00416.59
7.2.300.0030.01316.73
7.2.290.0040.01416.73
7.2.260.0070.01114.95
7.2.250.0070.01114.89
7.2.240.0020.01715.22
7.2.230.0050.01215.04
7.2.220.0050.00514.93
7.2.210.0030.00815.07
7.2.200.0050.00914.91
7.2.190.0080.00715.05
7.2.180.0020.01515.01
7.2.170.0060.00814.85
7.2.160.0070.00714.98
7.2.150.0070.00716.58
7.2.140.0030.01016.94
7.2.130.0040.01416.63
7.2.120.0060.00916.79
7.2.110.0060.00316.93
7.2.100.0100.00316.62
7.2.90.0060.00816.99
7.2.80.0070.00816.71
7.2.70.0070.01116.67
7.2.60.0070.00516.78
7.2.50.0070.00716.93
7.2.40.0040.01216.72
7.2.30.0090.00016.97
7.2.20.0100.00317.01
7.2.10.0110.00316.96
7.2.00.0040.01117.96
7.1.330.0050.00815.66
7.1.320.0040.00715.87
7.1.310.0050.01015.78
7.1.300.0090.00315.78
7.1.290.0030.01015.63
7.1.280.0080.00615.78
7.1.270.0070.00515.54
7.1.260.0070.00415.71
7.1.250.0040.00815.95
7.1.240.0000.00815.55
7.1.230.0090.00315.70
7.1.220.0040.01115.49
7.1.210.0060.00615.43
7.1.200.0070.00915.79
7.1.190.0070.01015.91
7.1.180.0040.00815.70
7.1.170.0130.00015.99
7.1.160.0080.00815.70
7.1.150.0000.00915.87
7.1.140.0040.00415.96
7.1.130.0000.01415.82
7.1.120.0030.01215.67
7.1.110.0000.01215.85
7.1.100.0030.01116.82
7.1.90.0040.01115.83
7.1.80.0040.00815.86
7.1.70.0080.00516.48
7.1.60.0070.01017.52
7.1.50.0070.01016.30
7.1.40.0030.01015.52
7.1.30.0060.00315.66
7.1.20.0040.00415.67
7.1.10.0080.00815.71
7.1.00.0110.02519.09
7.0.330.0080.00415.02
7.0.320.0050.00315.45
7.0.310.0030.01315.21
7.0.300.0000.01215.18
7.0.290.0030.01015.18
7.0.280.0040.00415.45
7.0.270.0070.00715.43
7.0.260.0080.00415.18
7.0.250.0060.00615.53
7.0.240.0060.00915.57
7.0.230.0000.00915.32
7.0.220.0060.00615.55
7.0.210.0030.00615.48
7.0.200.0070.00316.12
7.0.190.0070.00715.18
7.0.180.0070.00315.39
7.0.170.0080.00415.44
7.0.160.0070.01015.16
7.0.150.0040.00715.13
7.0.140.0070.03618.70
7.0.130.0070.00715.39
7.0.120.0070.03818.74
7.0.110.0060.00615.42
7.0.100.0060.00615.39
7.0.90.0070.00615.44
7.0.80.0060.00315.55
7.0.70.0000.01515.18
7.0.60.0080.04117.67
7.0.50.0050.02716.84
7.0.40.0040.03116.94
7.0.30.0250.03116.87
7.0.20.0190.04216.85
7.0.10.0150.03216.71
7.0.00.0030.03016.82
5.6.400.0030.00514.36
5.6.390.0070.00414.50
5.6.380.0030.00614.45
5.6.370.0100.00714.27
5.6.360.0080.00414.14
5.6.350.0040.00814.25
5.6.340.0030.01014.38
5.6.330.0000.01314.27
5.6.320.0050.00514.27
5.6.310.0030.01014.25
5.6.300.0030.01314.50
5.6.290.0040.00814.24
5.6.280.0000.04317.73
5.6.270.0070.00714.05
5.6.260.0030.00614.51
5.6.250.0030.01014.29
5.6.240.0040.01214.37
5.6.230.0000.01514.28
5.6.220.0060.00314.13
5.6.210.0030.02817.38
5.6.200.0070.02516.12
5.6.190.0050.04717.43
5.6.180.0180.03817.34
5.6.170.0200.02517.29
5.6.160.0080.04817.24
5.6.150.0050.02416.13
5.6.140.0030.03516.23
5.6.130.0030.02316.17
5.6.120.0030.03017.67
5.6.110.0030.03617.69
5.6.100.0120.04117.65
5.6.90.0100.04217.75
5.6.80.0030.04817.32
5.6.70.0220.03717.38
5.6.60.0000.01414.06
5.6.50.0070.00314.25
5.6.40.0030.00914.41
5.6.30.0030.00914.26
5.6.20.0070.00314.20
5.6.10.0070.00714.35
5.6.00.0040.01114.16
5.5.380.0090.00314.23
5.5.370.0060.00314.23
5.5.360.0000.01114.24
5.5.350.0100.04317.32
5.5.340.0080.02116.08
5.5.330.0050.04517.25
5.5.320.0050.04017.39
5.5.310.0160.03817.25
5.5.300.0080.02116.06
5.5.290.0070.02316.13
5.5.280.0050.03817.53
5.5.270.0060.02617.45
5.5.260.0070.04717.49
5.5.250.0040.04817.46
5.5.240.0160.03517.19
5.5.230.0080.00614.14
5.5.220.0120.00614.26
5.5.210.0000.00913.86
5.5.200.0070.01013.97
5.5.190.0040.01214.16
5.5.180.0040.01113.79
5.5.170.0070.01014.23
5.5.160.0070.00714.45
5.5.150.0040.00414.06
5.5.140.0040.01114.06
5.5.130.0090.00614.00
5.5.120.0060.00314.27
5.5.110.0000.01114.20
5.5.100.0030.01414.21
5.5.90.0090.00614.34
5.5.80.0000.00914.33
5.5.70.0060.00614.29
5.5.60.0070.00713.94
5.5.50.0040.00414.11
5.5.40.0030.00914.04
5.5.30.0040.01414.16
5.5.20.0060.00313.99
5.5.10.0000.00814.27
5.5.00.0110.00714.19
5.4.450.0030.02715.13
5.4.440.0050.03515.17
5.4.430.0070.04115.18
5.4.420.0060.04015.02
5.4.410.0050.04015.02
5.4.400.0090.03815.08
5.4.390.0070.03315.04
5.4.380.0070.03714.97
5.4.370.0060.02715.06
5.4.360.0070.02815.11
5.4.350.0030.02814.91
5.4.340.0090.04214.84
5.4.330.0030.00710.57
5.4.320.0030.04314.92
5.4.310.0020.02315.15
5.4.300.0110.03515.14
5.4.290.0030.03514.73
5.4.280.0030.04314.98
5.4.270.0070.02414.90
5.4.260.0070.02415.04
5.4.250.0080.02914.96
5.4.240.0040.02815.07
5.4.230.0050.04014.99
5.4.220.0080.02814.96
5.4.210.0020.03214.89
5.4.200.0060.03815.01
5.4.190.0070.03814.72
5.4.180.0070.03014.98
5.4.170.0100.02514.93
5.4.160.0070.02414.97
5.4.150.0080.03714.87
5.4.140.0030.02313.59
5.4.130.0080.03613.68
5.4.120.0030.02213.67
5.4.110.0030.02313.69
5.4.100.0050.02413.60
5.4.90.0020.02813.72
5.4.80.0050.02113.59
5.4.70.0020.03513.63
5.4.60.0050.03513.75
5.4.50.0100.03213.63
5.4.40.0120.03013.69
5.4.30.0050.02713.68
5.4.20.0060.04113.62
5.4.10.0100.03313.62
5.4.00.0030.02513.43
5.3.290.0040.02112.57
5.3.280.0050.03012.48
5.3.270.0070.02412.50
5.3.260.0020.04012.54
5.3.250.0070.03412.55
5.3.240.0020.02612.39
5.3.230.0050.02512.39
5.3.220.0070.02512.39
5.3.210.0060.03612.39
5.3.200.0050.03812.32
5.3.190.0050.03712.48
5.3.180.0020.02512.44
5.3.170.0050.02412.41
5.3.160.0080.02512.57
5.3.150.0030.02912.49
5.3.140.0050.02512.39
5.3.130.0030.04412.44
5.3.120.0050.02512.50
5.3.110.0070.04112.42
5.3.100.0020.04312.23
5.3.90.0090.04012.19
5.3.80.0070.02012.21
5.3.70.0030.04211.97
5.3.60.0050.04012.11
5.3.50.0030.03412.00
5.3.40.0150.02212.20
5.3.30.0060.03312.21
5.3.20.0080.01712.07
5.3.10.0020.02611.93
5.3.00.0070.03311.87
5.2.170.0030.05311.14
5.2.160.0030.06311.09
5.2.150.0070.04311.08
5.2.140.0000.04011.13
5.2.130.0000.06711.26
5.2.120.0030.03011.08
5.2.110.0070.04011.02
5.2.100.0100.04011.06
5.2.90.0100.03011.00
5.2.80.0000.04311.08
5.2.70.0030.05311.04
5.2.60.0070.05010.94
5.2.50.0030.04011.01
5.2.40.0000.03310.98
5.2.30.0070.03010.90
5.2.20.0100.06010.89
5.2.10.0030.05710.81
5.2.00.0130.05010.76
5.1.60.0000.03710.14
5.1.50.0030.05010.04
5.1.40.0000.05010.01
5.1.30.0000.03310.36
5.1.20.0070.03310.39
5.1.10.0070.03010.21
5.1.00.0000.03010.11
5.0.50.0070.0478.45
5.0.40.0030.0208.55
5.0.30.0070.0508.26
5.0.20.0030.0408.21
5.0.10.0030.0478.12
5.0.00.0070.0578.06
4.4.90.0030.0207.96
4.4.80.0030.0207.96
4.4.70.0000.0377.96
4.4.60.0000.0277.96
4.4.50.0000.0277.96
4.4.40.0000.0507.96
4.4.30.0030.0277.96
4.4.20.0000.0237.96
4.4.10.0100.0207.96
4.4.00.0000.0437.96
4.3.110.0030.0277.96
4.3.100.0070.0337.96
4.3.90.0030.0177.96
4.3.80.0000.0477.96
4.3.70.0030.0337.96
4.3.60.0000.0377.96
4.3.50.0030.0377.96
4.3.40.0030.0277.96
4.3.30.0000.0337.96
4.3.20.0000.0237.96
4.3.10.0000.0407.96
4.3.00.0000.0377.96

preferences:
46.87 ms | 401 KiB | 5 Q