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); }

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.0190.00318.43
8.3.50.0140.00622.05
8.3.40.0110.00418.57
8.3.30.0140.00020.29
8.3.20.0080.00020.39
8.3.10.0080.00022.10
8.3.00.0040.00422.40
8.2.180.0100.01016.50
8.2.170.0000.01422.96
8.2.160.0100.00720.52
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0100.00326.16
8.2.120.0040.00419.54
8.2.110.0060.00321.91
8.2.100.0110.00019.21
8.2.90.0000.00819.23
8.2.80.0000.00719.27
8.2.70.0000.00817.63
8.2.60.0040.00417.79
8.2.50.0040.00418.07
8.2.40.0030.00618.22
8.2.30.0000.00718.04
8.2.20.0050.00217.64
8.2.10.0040.00417.80
8.2.00.0080.00017.80
8.1.280.0040.01125.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0040.00423.83
8.1.230.0000.01119.09
8.1.220.0040.00417.79
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0040.00417.30
8.1.180.0040.00420.22
8.1.170.0040.00418.41
8.1.160.0040.00422.05
8.1.150.0070.00018.74
8.1.140.0030.00517.51
8.1.130.0060.00017.75
8.1.120.0040.00417.50
8.1.110.0000.00717.35
8.1.100.0070.00017.36
8.1.90.0040.00417.52
8.1.80.0070.00017.34
8.1.70.0000.00717.32
8.1.60.0000.00917.51
8.1.50.0000.00817.44
8.1.40.0040.00417.42
8.1.30.0060.00317.60
8.1.20.0040.00417.66
8.1.10.0040.00417.39
8.1.00.0030.00617.27
8.0.300.0040.00418.77
8.0.290.0000.00717.15
8.0.280.0030.00318.45
8.0.270.0070.00017.30
8.0.260.0000.00618.44
8.0.250.0030.00316.98
8.0.240.0000.00716.86
8.0.230.0070.00016.97
8.0.220.0040.00416.73
8.0.210.0070.00016.89
8.0.200.0030.00316.93
8.0.190.0070.00016.96
8.0.180.0030.00716.93
8.0.170.0040.00416.77
8.0.160.0000.00816.84
8.0.150.0030.00316.77
8.0.140.0040.00416.84
8.0.130.0050.00013.31
8.0.120.0050.00316.89
8.0.110.0030.00516.97
8.0.100.0000.00716.70
8.0.90.0000.00816.95
8.0.80.0090.00616.92
8.0.70.0000.00716.76
8.0.60.0040.00416.79
8.0.50.0040.00416.84
8.0.30.0110.00717.02
8.0.20.0060.01517.40
8.0.10.0000.00716.80
8.0.00.0110.00716.85
7.4.330.0050.00015.00
7.4.320.0060.00016.64
7.4.300.0000.00916.51
7.4.290.0070.00016.59
7.4.280.0040.00416.50
7.4.270.0040.00416.59
7.4.260.0030.00316.56
7.4.250.0000.00816.57
7.4.240.0020.00516.50
7.4.230.0030.00316.25
7.4.220.0060.01416.45
7.4.210.0060.00816.56
7.4.200.0070.00016.70
7.4.190.0000.00816.36
7.4.160.0130.00316.56
7.4.150.0080.00817.40
7.4.140.0070.01117.86
7.4.130.0100.00716.50
7.4.120.0110.00616.62
7.4.110.0150.00816.50
7.4.100.0070.01116.52
7.4.90.0170.00716.39
7.4.80.0050.01619.39
7.4.70.0120.00616.73
7.4.60.0100.00716.44
7.4.50.0000.00816.48
7.4.40.0040.01222.77
7.4.30.0090.00816.43
7.4.00.0060.00914.91
7.3.330.0020.00213.03
7.3.320.0050.00013.10
7.3.310.0040.00416.11
7.3.300.0070.00016.17
7.3.290.0110.00316.21
7.3.280.0050.01116.27
7.3.270.0160.00617.40
7.3.260.0150.00716.16
7.3.250.0100.01216.41
7.3.240.0170.00016.48
7.3.230.0100.00716.39
7.3.210.0130.00616.40
7.3.200.0140.00319.39
7.3.190.0160.00616.51
7.3.180.0070.01016.43
7.3.170.0070.01016.40
7.3.160.0030.01216.37
7.3.120.0070.01014.73
7.3.110.0070.01014.74
7.3.100.0100.00714.77
7.3.90.0100.00514.78
7.3.80.0030.00714.96
7.3.70.0030.00814.86
7.3.60.0100.00514.89
7.3.50.0040.01114.59
7.3.40.0050.00914.76
7.3.30.0040.00914.88
7.3.20.0100.00616.68
7.3.10.0060.00616.70
7.3.00.0050.01016.67
7.2.330.0120.00616.75
7.2.320.0120.00916.57
7.2.310.0070.01416.71
7.2.300.0100.00816.66
7.2.290.0170.00416.50
7.2.250.0080.00815.11
7.2.240.0050.01515.07
7.2.230.0050.00914.98
7.2.220.0090.00415.14
7.2.210.0090.00614.83
7.2.200.0090.00315.24
7.2.190.0020.01014.94
7.2.180.0100.00515.01
7.2.170.0090.00615.05
7.1.330.0050.00815.64
7.1.320.0060.00315.84
7.1.310.0070.00615.81
7.1.300.0070.00515.78
7.1.290.0020.01515.73
7.1.280.0100.00515.63
7.1.270.0020.00915.75
7.1.260.0050.00715.76
7.1.70.0080.00417.18
7.1.60.0090.01519.43
7.1.50.0130.01016.88
7.1.00.0070.04022.33
7.0.200.0040.00416.88
7.0.140.0030.07722.10
7.0.60.0030.06719.77
7.0.50.0070.08017.88
7.0.40.0130.08020.26
7.0.30.0270.05020.26
7.0.20.0200.05020.23
7.0.10.0130.07720.09
7.0.00.0030.07720.22
5.6.280.0030.07321.14
5.6.210.0100.06720.50
5.6.200.0070.07718.20
5.6.190.0100.06720.67
5.6.180.0230.04720.47
5.6.170.0470.06720.58
5.6.160.0130.06020.57
5.6.150.0100.07718.24
5.6.140.0070.08018.18
5.6.130.0100.08318.16
5.6.120.0000.08721.14
5.6.110.0130.05021.13
5.6.100.0100.08321.08
5.6.90.0070.08321.12
5.6.80.0130.06320.38
5.6.70.3500.03020.39
5.5.350.0030.08320.44
5.5.340.0030.07018.03
5.5.330.0070.07720.40
5.5.320.0300.07020.30
5.5.310.0230.04020.32
5.5.300.0000.04017.96
5.5.290.0100.04318.09
5.5.280.0070.04320.80
5.5.270.0130.05320.78
5.5.260.0030.06720.86
5.5.250.0170.03720.62
5.5.240.0070.04320.16
5.4.450.0770.05319.16
5.4.440.1070.05019.41
5.4.430.1000.06319.30
5.4.420.0800.06019.56
5.4.410.0770.05719.57
5.4.400.0930.06718.54
5.4.390.2100.05318.61
5.4.380.0230.05318.74
5.4.370.0100.05718.69
5.4.360.0200.06318.86
5.4.350.0070.05012.01
5.4.340.0080.04712.00
5.4.320.0070.03612.49
5.4.310.0080.03712.48
5.4.300.0050.05212.49
5.4.290.0090.05212.48
5.4.280.0080.05012.38
5.4.270.0060.03612.39
5.4.260.0070.04112.38
5.4.250.0060.03912.38
5.4.240.0000.05718.80
5.4.230.0130.04318.94
5.4.220.0100.05318.90
5.4.210.0030.05719.00
5.4.200.0070.05318.80
5.4.190.0070.05318.65
5.4.180.0070.05319.00
5.4.170.0100.05019.02
5.4.160.0130.05719.01
5.4.150.0070.05719.01
5.4.140.0130.07016.43
5.4.130.0230.03316.37
5.4.120.0100.05016.36
5.4.110.0030.08316.36
5.4.100.0230.04016.48
5.4.90.0070.05016.46
5.4.80.0200.03316.49
5.4.70.0000.05716.60
5.4.60.0200.04716.58
5.4.50.0030.05316.29
5.4.40.0130.04716.39
5.4.30.0170.03716.30
5.4.20.0070.05316.37
5.4.10.0070.05716.55
5.4.00.0070.05016.04
5.3.290.0060.04712.80
5.3.280.0130.04314.56
5.3.270.0070.05314.59
5.3.260.0130.04714.58
5.3.250.0070.05314.67
5.3.240.0200.04714.67
5.3.230.0170.06314.56
5.3.220.0130.04314.65
5.3.210.0130.04714.63
5.3.200.0100.07714.56
5.3.190.0070.05714.63
5.3.180.0200.06014.71
5.3.170.0130.04714.53
5.3.160.0070.05014.55
5.3.150.0130.04714.56
5.3.140.0170.04714.54
5.3.130.0030.05714.63
5.3.120.0200.04014.72
5.3.110.0000.05714.38
5.3.100.0070.05314.12
5.3.90.0100.04714.09
5.3.80.0130.05314.00
5.3.70.0070.07014.08
5.3.60.0130.05014.07
5.3.50.0170.05713.93
5.3.40.0130.06313.77
5.3.30.0070.05013.89
5.3.20.0100.05313.76
5.3.10.0130.05013.55
5.3.00.0100.06313.70
5.2.170.0070.04011.14
5.2.160.0030.04011.12
5.2.150.0170.03711.22
5.2.140.0070.05711.36
5.2.130.0000.04311.10
5.2.120.0070.03711.16
5.2.110.0100.05011.28
5.2.100.0130.05011.10
5.2.90.0070.04311.25
5.2.80.0130.04311.07
5.2.70.0030.04311.31
5.2.60.0070.03710.87
5.2.50.0070.04710.84
5.2.40.0070.04710.82
5.2.30.0030.04310.96
5.2.20.0100.03710.95
5.2.10.0030.05010.69
5.2.00.0070.04010.80
5.1.60.0100.04310.08
5.1.50.0030.03310.04
5.1.40.0030.05010.13
5.1.30.0130.02710.42
5.1.20.0100.03310.42
5.1.10.0030.0379.98
5.1.00.0030.04310.25
5.0.50.0000.0309.97
5.0.40.0070.0239.97
5.0.30.0070.0509.97
5.0.20.0070.0239.97
5.0.10.0030.0339.97
5.0.00.0100.0409.97
4.4.90.0030.0209.97
4.4.80.0130.0139.97
4.4.70.0070.0239.97
4.4.60.0030.0209.97
4.4.50.0030.0239.97
4.4.40.0030.0339.97
4.4.30.0030.0209.97
4.4.20.0000.0239.97
4.4.10.0030.0209.97
4.4.00.0030.0339.97
4.3.110.0000.0309.97
4.3.100.0030.0279.97
4.3.90.0070.0179.97
4.3.80.0070.0279.97
4.3.70.0030.0209.97
4.3.60.0030.0309.97
4.3.50.0000.0239.97
4.3.40.0030.0479.97
4.3.30.0030.0279.97
4.3.20.0030.0239.97
4.3.10.0070.0239.97
4.3.00.0130.0176.81

preferences:
52.31 ms | 401 KiB | 5 Q