3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=Array ( 0 => Array ( "Title" => "La science des rĂªves", "Year" => "2006", "Director" => Array ( "Name" => "Michel Gondry", "BirthYear" => "1963", "BirthPlace" => "Versailles, Yvelines, France" ) ), 1 => Array ( "Title" => "Arizona Dream", "Year" => "1992", "Director" => Array ( "Name" => "Emir Kusturica", "BirthYear" => "1954", "BirthPlace" => "Sarajevo, Bosnia and Herzegovina, Yugoslavia" ) ) ); $ck=Array ( 0 => "Title", 1 => "Director.Name", 2 => "Director.BirthYear" ); $newarray=array(); foreach($ck as $ck2) { $k = explode(".",$ck2); print_r($k[0]); }

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.50
8.3.50.0130.00721.93
8.3.40.0140.00418.67
8.3.30.0110.00419.13
8.3.20.0070.00720.18
8.3.10.0080.00023.57
8.3.00.0030.00622.50
8.2.180.0110.00716.38
8.2.170.0110.00422.96
8.2.160.0130.00720.24
8.2.150.0110.00724.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0000.00722.16
8.2.110.0060.00322.08
8.2.100.0040.00717.84
8.2.90.0000.00719.21
8.2.80.0050.00318.05
8.2.70.0000.00917.75
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0040.00418.28
8.2.30.0040.00418.03
8.2.20.0040.00417.74
8.2.10.0040.00417.67
8.2.00.0000.00817.76
8.1.280.0120.00325.92
8.1.270.0070.01023.91
8.1.260.0050.00326.35
8.1.250.0030.00628.09
8.1.240.0000.00923.98
8.1.230.0030.00719.08
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0040.00417.54
8.1.180.0050.00318.10
8.1.170.0080.00018.60
8.1.160.0030.00422.09
8.1.150.0000.00718.65
8.1.140.0070.00017.38
8.1.130.0060.00317.84
8.1.120.0070.00017.46
8.1.110.0050.00217.50
8.1.100.0040.00417.51
8.1.90.0000.00717.38
8.1.80.0040.00417.37
8.1.70.0030.00317.43
8.1.60.0050.00217.63
8.1.50.0040.00417.44
8.1.40.0000.00717.52
8.1.30.0050.00317.45
8.1.20.0040.00417.64
8.1.10.0000.00917.55
8.1.00.0040.00417.39
8.0.300.0070.00018.77
8.0.290.0030.00317.18
8.0.280.0040.00418.45
8.0.270.0030.00317.14
8.0.260.0000.00716.87
8.0.250.0000.00717.01
8.0.240.0000.00716.96
8.0.230.0090.00017.01
8.0.220.0030.00316.86
8.0.210.0060.00016.90
8.0.200.0030.00316.95
8.0.190.0000.00716.86
8.0.180.0080.00016.84
8.0.170.0040.00416.89
8.0.160.0050.00316.93
8.0.150.0070.00016.93
8.0.140.0070.00416.86
8.0.130.0030.00313.29
8.0.120.0030.00516.77
8.0.110.0040.00416.84
8.0.100.0040.00416.93
8.0.90.0070.00016.97
8.0.80.0100.00616.86
8.0.70.0040.00416.90
8.0.60.0020.00516.82
8.0.50.0040.00416.93
8.0.30.0100.01016.95
8.0.20.0100.00817.40
8.0.10.0030.00416.91
8.0.00.0100.00716.75
7.4.330.0020.00215.02
7.4.320.0030.00316.57
7.4.300.0070.00016.51
7.4.290.0000.00716.49
7.4.280.0070.00016.40
7.4.270.0000.00716.44
7.4.260.0070.00016.59
7.4.250.0040.00416.55
7.4.240.0000.00716.59
7.4.230.0030.00316.40
7.4.220.0110.00716.58
7.4.210.0090.00616.60
7.4.200.0030.00316.41
7.4.190.0030.00316.71
7.4.160.0030.01316.35
7.4.150.0110.00717.40
7.4.140.0120.00717.86
7.4.130.0110.00716.53
7.4.120.0110.00616.51
7.4.110.0060.01216.66
7.4.100.0150.00416.53
7.4.90.0080.00816.45
7.4.80.0060.01316.49
7.4.70.0100.01316.55
7.4.60.0100.01016.46
7.4.50.0060.00316.38
7.4.40.0090.00622.77
7.4.30.0100.00616.29
7.4.00.0090.00914.79
7.3.330.0060.00013.21
7.3.320.0050.00013.14
7.3.310.0000.00716.29
7.3.300.0030.00316.36
7.3.290.0100.00516.32
7.3.280.0120.00716.24
7.3.270.0180.00017.40
7.3.260.0060.01116.29
7.3.250.0100.00716.43
7.3.240.0060.01216.35
7.3.230.0080.00816.39
7.3.210.0100.00716.37
7.3.200.0170.00319.39
7.3.190.0130.00316.34
7.3.180.0110.00716.30
7.3.170.0160.00016.30
7.3.160.0130.00316.55
7.3.120.0100.00314.88
7.2.330.0090.00916.71
7.2.320.0070.01116.65
7.2.310.0030.01816.76
7.2.300.0100.01016.76
7.2.290.0060.00916.59
7.1.100.0060.00617.79
7.1.70.0000.00717.14
7.1.60.0100.01419.29
7.1.50.0100.00616.93
7.1.00.0070.07322.25
7.0.200.0040.00416.85
7.0.140.0030.07322.18
7.0.60.0000.04319.93
7.0.50.0100.07717.80
7.0.40.0100.04020.00
7.0.30.0300.04320.02
7.0.20.0270.06020.44
7.0.10.0200.05320.20
7.0.00.0000.04720.20
5.6.280.0030.07721.11
5.6.210.0070.04020.48
5.6.200.0030.06718.17
5.6.190.0100.08720.27
5.6.180.0400.08020.33
5.6.170.0330.06320.42
5.6.160.0130.07720.49
5.6.150.0100.08318.18
5.6.140.0030.06318.08
5.6.130.0100.07718.19
5.6.120.0100.07020.94
5.6.110.0070.04720.89
5.6.100.0170.07321.02
5.6.90.0130.06321.12
5.6.80.0130.07320.37
5.5.350.0030.06720.43
5.5.340.0100.08018.01
5.5.330.0100.05320.23
5.5.320.0100.03720.24
5.5.310.0230.05320.20
5.5.300.0030.08317.88
5.5.290.0030.08317.92
5.5.280.0100.05020.87
5.5.270.0030.08320.86
5.5.260.0270.07020.67
5.5.250.0030.08320.49
5.5.240.0170.07020.27
5.4.450.0830.04319.55
5.4.440.0500.05019.57
5.4.430.0130.05319.45
5.4.420.0770.05319.40
5.4.410.0830.04719.35
5.4.400.0770.06319.23
5.4.390.0230.05319.22
5.4.380.0070.06718.47
5.4.370.0200.04718.52
5.4.360.0270.05718.56
5.4.350.0200.05018.77
5.4.340.0030.06318.77
5.4.320.0070.03912.46
5.4.310.0060.04112.46
5.4.300.0060.03612.46
5.4.290.0120.03912.46
5.4.280.0050.03712.36
5.4.270.0020.03912.35
5.4.260.0030.04012.36
5.4.250.0060.03812.36
5.4.240.0040.03912.32
5.4.230.0080.05012.32
5.4.220.0070.06012.32
5.4.210.0100.04712.32
5.4.200.0080.05112.32
5.4.190.0050.04312.31
5.4.180.0050.04112.32
5.4.170.0080.03712.32
5.4.160.0070.04112.32
5.4.150.0140.04412.31
5.4.140.0110.04711.99
5.4.130.0100.03511.98
5.4.120.0040.04211.94
5.4.110.0060.03811.93
5.4.100.0040.04511.93
5.4.90.0080.03611.94
5.4.80.0050.03911.93
5.4.70.0060.03611.93
5.4.60.0040.03811.93
5.4.50.0050.04011.93
5.4.40.0070.05311.92
5.4.30.0040.05011.92
5.4.20.0030.03911.92
5.4.10.0070.03311.92
5.4.00.0070.03511.41
5.3.290.0070.04012.80
5.3.280.0060.05612.71
5.3.270.0090.05612.72
5.3.260.0050.06112.72
5.3.250.0060.04612.72
5.3.240.0030.04012.72
5.3.230.0080.05012.71
5.3.220.0070.05312.68
5.3.210.0060.05612.68
5.3.200.0080.05012.68
5.3.190.0100.04612.68
5.3.180.0110.03712.67
5.3.170.0060.03712.67
5.3.160.0060.03912.68
5.3.150.0080.03612.68
5.3.140.0060.03812.66
5.3.130.0050.04112.66
5.3.120.0110.03612.66
5.3.110.0050.04112.66
5.3.100.0080.03712.12
5.3.90.0080.04012.09
5.3.80.0050.04212.07
5.3.70.0050.03912.07
5.3.60.0050.03812.07
5.3.50.0030.04112.00
5.3.40.0050.04012.00
5.3.30.0030.04111.94
5.3.20.0120.03511.70
5.3.10.0140.03211.66
5.3.00.0030.04411.65
5.2.170.0040.0339.15
5.2.160.0040.0339.15
5.2.150.0040.0369.15
5.2.140.0030.0399.15
5.2.130.0070.0299.11
5.2.120.0090.0289.11
5.2.110.0050.0309.11
5.2.100.0050.0319.11
5.2.90.0030.0339.11
5.2.80.0060.0289.11
5.2.70.0050.0309.11
5.2.60.0050.0299.06
5.2.50.0050.0329.03
5.2.40.0040.0319.01
5.2.30.0040.0328.97
5.2.20.0070.0278.97
5.2.10.0040.0308.89
5.2.00.0050.0308.75
5.1.60.0020.0298.04
5.1.50.0040.0278.04
5.1.40.0060.0258.03
5.1.30.0090.0328.37
5.1.20.0020.0358.39
5.1.10.0050.0298.12
5.1.00.0050.0358.11
5.0.50.0040.0236.59
5.0.40.0030.0216.45
5.0.30.0050.0296.27
5.0.20.0040.0196.24
5.0.10.0030.0206.22
5.0.00.0030.0316.21
4.4.90.0010.0174.78
4.4.80.0060.0124.75
4.4.70.0040.0164.76
4.4.60.0060.0174.75
4.4.50.0050.0154.77
4.4.40.0060.0244.71
4.4.30.0040.0144.76
4.4.20.0020.0164.84
4.4.10.0040.0164.84
4.4.00.0030.0334.76
4.3.110.0010.0214.67
4.3.100.0040.0154.66
4.3.90.0040.0144.63
4.3.80.0000.0284.58
4.3.70.0040.0144.63
4.3.60.0030.0154.63
4.3.50.0040.0154.63
4.3.40.0010.0264.54
4.3.30.0040.0143.28
4.3.20.0020.0163.26
4.3.10.0020.0183.21
4.3.00.0030.02013.14

preferences:
39.65 ms | 401 KiB | 5 Q