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(); $k = explode($ck[0],","); 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.0150.00018.29
8.3.50.0110.01122.05
8.3.40.0140.00318.63
8.3.30.0110.00420.20
8.3.20.0060.00320.09
8.3.10.0040.00421.96
8.3.00.0070.00722.34
8.2.180.0100.01016.63
8.2.170.0070.00722.96
8.2.160.0110.00420.35
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0100.00326.16
8.2.120.0040.00419.44
8.2.110.0040.00721.00
8.2.100.0070.00317.84
8.2.90.0000.00919.17
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0040.00417.92
8.2.50.0040.00418.07
8.2.40.0000.00817.74
8.2.30.0070.00018.05
8.2.20.0050.00217.70
8.2.10.0000.00817.62
8.2.00.0030.00517.73
8.1.280.0110.00325.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0090.00028.09
8.1.240.0060.00322.12
8.1.230.0060.00918.98
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0040.00417.29
8.1.180.0040.00420.07
8.1.170.0050.00318.45
8.1.160.0070.00022.05
8.1.150.0000.00718.57
8.1.140.0080.00017.29
8.1.130.0040.00417.87
8.1.120.0030.00317.43
8.1.110.0040.00417.39
8.1.100.0030.00517.29
8.1.90.0050.00217.41
8.1.80.0040.00417.38
8.1.70.0000.00717.35
8.1.60.0040.00417.55
8.1.50.0000.00817.48
8.1.40.0050.00317.43
8.1.30.0080.00017.48
8.1.20.0000.00917.64
8.1.10.0040.00417.41
8.1.00.0040.00817.36
8.0.300.0020.00518.77
8.0.290.0030.00616.63
8.0.280.0030.00518.33
8.0.270.0000.00717.10
8.0.260.0030.00316.69
8.0.250.0070.00016.73
8.0.240.0080.00016.78
8.0.230.0000.00716.86
8.0.220.0000.00716.80
8.0.210.0030.00316.86
8.0.200.0060.00016.94
8.0.190.0070.00016.76
8.0.180.0070.00316.86
8.0.170.0000.00716.74
8.0.160.0040.00416.79
8.0.150.0030.00416.71
8.0.140.0000.00716.79
8.0.130.0060.00013.24
8.0.120.0000.00816.69
8.0.110.0040.00416.85
8.0.100.0050.00316.71
8.0.90.0040.00416.86
8.0.80.0100.00716.71
8.0.70.0000.00716.86
8.0.60.0080.00016.77
8.0.50.0000.00716.70
8.0.30.0050.01416.99
8.0.20.0100.00817.40
8.0.10.0040.00416.78
8.0.00.0110.00716.81
7.4.330.0050.00015.00
7.4.320.0000.00616.48
7.4.300.0000.00816.39
7.4.290.0000.00716.53
7.4.280.0000.00716.42
7.4.270.0000.00616.53
7.4.260.0030.00316.56
7.4.250.0040.00416.32
7.4.240.0040.00416.50
7.4.230.0000.00716.36
7.4.220.0090.00916.46
7.4.210.0090.00716.56
7.4.200.0070.00016.42
7.4.190.0070.00016.59
7.4.160.0130.00316.29
7.4.150.0110.00717.40
7.4.140.0130.00917.86
7.4.130.0120.00416.37
7.4.120.0120.00516.32
7.4.110.0120.00616.60
7.4.100.0060.01116.31
7.4.90.0130.01016.52
7.4.80.0110.00719.39
7.4.70.0110.00816.44
7.4.60.0030.01316.45
7.4.50.0000.00816.57
7.4.40.0060.00622.77
7.4.30.0110.00716.46
7.4.00.0060.01114.92
7.3.330.0020.00213.11
7.3.320.0030.00312.99
7.3.310.0000.00716.27
7.3.300.0020.00516.22
7.3.290.0030.01016.25
7.3.280.0060.01116.26
7.3.270.0040.01217.40
7.3.260.0070.01416.53
7.3.250.0100.00916.25
7.3.240.0100.00716.28
7.3.230.0000.01816.49
7.3.210.0190.00016.46
7.3.200.0000.01819.39
7.3.190.0130.00716.30
7.3.180.0130.00316.25
7.3.170.0100.00716.36
7.3.160.0060.01016.64
7.3.120.0050.01214.83
7.3.110.0080.00814.70
7.3.100.0040.01114.55
7.3.90.0100.00614.71
7.3.80.0070.00814.79
7.3.70.0050.00814.44
7.3.60.0070.00614.78
7.3.50.0050.00914.67
7.3.40.0070.00514.73
7.3.30.0050.00814.56
7.3.20.0070.00716.78
7.3.10.0060.00916.56
7.3.00.0060.00816.44
7.2.330.0060.01316.22
7.2.320.0130.01316.74
7.2.310.0150.00916.63
7.2.300.0140.00716.41
7.2.290.0100.00616.64
7.2.250.0040.01414.88
7.2.240.0100.01015.17
7.2.230.0070.01014.91
7.2.220.0040.00914.91
7.2.210.0070.00714.92
7.2.200.0070.00915.06
7.2.190.0050.01014.99
7.2.180.0060.00814.79
7.2.170.0030.01014.94
7.2.60.0080.00416.64
7.2.00.0030.01319.28
7.1.330.0030.01015.73
7.1.320.0050.01115.94
7.1.310.0040.00715.86
7.1.300.0080.00715.78
7.1.290.0020.01115.83
7.1.280.0070.00915.69
7.1.270.0050.00515.85
7.1.260.0050.00915.81
7.1.200.0090.00315.88
7.1.100.0090.00617.94
7.1.70.0030.00617.15
7.1.60.0110.01419.43
7.1.50.0000.01316.78
7.1.00.0030.03322.43
7.0.200.0040.00416.56
7.0.140.0070.07022.00
7.0.60.0070.08719.85
7.0.50.0070.07317.84
7.0.40.0030.08020.17
7.0.30.0530.06320.23
7.0.20.0170.06320.23
7.0.10.0000.07720.10
7.0.00.0030.04320.14
5.6.280.0030.07321.09
5.6.210.0100.08020.69
5.6.200.0130.07018.19
5.6.190.0100.08720.57
5.6.180.0370.07020.41
5.6.170.0270.05720.43
5.6.160.0030.08720.57
5.6.150.0070.05318.17
5.6.140.0030.08718.18
5.6.130.0070.04018.15
5.6.120.0100.03721.12
5.6.110.0070.07721.01
5.6.100.0130.08321.09
5.6.90.0100.07021.02
5.6.80.0130.07320.38
5.6.70.4430.03320.37
5.5.350.0200.07720.43
5.5.340.0170.04318.07
5.5.330.0130.07720.18
5.5.320.0230.03720.34
5.5.310.0200.03320.30
5.5.300.0070.03717.97
5.5.290.0030.04018.03
5.5.280.0030.04020.87
5.5.270.0070.03720.93
5.5.260.0100.07320.79
5.5.250.0100.05720.68
5.5.240.0100.07320.37
5.4.450.0630.06319.20
5.4.440.0870.06019.61
5.4.430.0830.06319.38
5.4.420.1030.05019.51
5.4.410.1100.05319.50
5.4.400.0500.07018.65
5.4.390.0300.05718.56
5.4.380.0170.06018.52
5.4.370.0130.05018.84
5.4.360.0070.06018.47
5.4.350.0100.03412.00
5.4.340.0110.03112.00
5.4.320.0100.04912.48
5.4.310.0070.03612.48
5.4.300.0060.04312.49
5.4.290.0070.03712.48
5.4.280.0080.03412.38
5.4.270.0060.03812.38
5.4.260.0070.04212.38
5.4.250.0110.04712.38
5.4.240.0100.05018.88
5.4.230.0070.05318.99
5.4.220.0170.07018.76
5.4.210.0130.07018.73
5.4.200.0030.05718.79
5.4.190.0000.05718.77
5.4.180.0070.05018.98
5.4.170.0170.05718.89
5.4.160.0030.05718.93
5.4.150.0130.05318.98
5.4.140.0070.05016.58
5.4.130.0030.05316.38
5.4.120.0070.04716.30
5.4.110.0170.05316.62
5.4.100.0170.05016.48
5.4.90.0130.04316.65
5.4.80.0030.06316.41
5.4.70.0030.05316.49
5.4.60.0100.05016.63
5.4.50.0070.05316.48
5.4.40.0070.04716.65
5.4.30.0100.04316.52
5.4.20.0070.05716.45
5.4.10.0070.05316.45
5.4.00.0070.05315.90
5.3.290.0040.04112.80
5.3.280.0070.05014.81
5.3.270.0070.05314.51
5.3.260.0130.06714.68
5.3.250.0130.04314.68
5.3.240.0130.06314.68
5.3.230.0030.05314.58
5.3.220.0070.05014.46
5.3.210.0130.05014.53
5.3.200.0100.05014.55
5.3.190.0070.05314.70
5.3.180.0030.05014.69
5.3.170.0070.05314.69
5.3.160.0130.06014.55
5.3.150.0170.04014.54
5.3.140.0100.04714.63
5.3.130.0100.05014.74
5.3.120.0070.05014.53
5.3.110.0130.06014.53
5.3.100.0100.04713.86
5.3.90.0000.05714.09
5.3.80.0170.04314.10
5.3.70.0130.04713.86
5.3.60.0100.04313.98
5.3.50.0030.05314.16
5.3.40.0130.04013.92
5.3.30.0030.05313.97
5.3.20.0100.04313.70
5.3.10.0100.04713.63
5.3.00.0100.06313.70
5.2.170.0000.04711.11
5.2.160.0070.03711.14
5.2.150.0000.04311.09
5.2.140.0000.04310.96
5.2.130.0030.04311.18
5.2.120.0200.03711.16
5.2.110.0100.04711.08
5.2.100.0170.03011.18
5.2.90.0000.05011.09
5.2.80.0100.04011.09
5.2.70.0000.04311.27
5.2.60.0070.04011.11
5.2.50.0070.05310.96
5.2.40.0070.04010.95
5.2.30.0030.04310.80
5.2.20.0000.04311.04
5.2.10.0130.02710.82
5.2.00.0000.04010.67
5.1.60.0000.04010.05
5.1.50.0000.03710.05
5.1.40.0030.03310.09
5.1.30.0070.03310.16
5.1.20.0100.03310.51
5.1.10.0070.0439.98
5.1.00.0000.0379.98
5.0.50.0030.0309.98
5.0.40.0070.0279.98
5.0.30.0000.0439.98
5.0.20.0070.0239.98
5.0.10.0030.0409.98
5.0.00.0100.0379.98
4.4.90.0000.0279.98
4.4.80.0070.0279.98
4.4.70.0070.0179.98
4.4.60.0100.0179.98
4.4.50.0030.0209.98
4.4.40.0030.0339.98
4.4.30.0070.0179.98
4.4.20.0030.0209.98
4.4.10.0000.0239.98
4.4.00.0100.0239.98
4.3.110.0000.0239.98
4.3.100.0000.0239.98
4.3.90.0000.0239.98
4.3.80.0030.0309.98
4.3.70.0070.0279.98
4.3.60.0000.0309.98
4.3.50.0000.0279.98
4.3.40.0000.0339.98
4.3.30.0030.0209.98
4.3.20.0000.0239.98
4.3.10.0000.0239.98
4.3.00.0230.0176.73

preferences:
56.61 ms | 401 KiB | 5 Q