3v4l.org

run code in 300+ PHP versions simultaneously
<?php $objectives_list_param = Array ( 'J_ID.1' => '02031040080', 'J_Name.1' => 'Review the operation and function of the spoiler system', 'J_Score.1' => '42', 'J_Status.1' => 'F', 'J_ID.2' => '02031040060', 'J_Name.2' => 'Review the operation and function of the primary flight control system', 'J_Score.2' => '95', 'J_Status.2' => 'P', 'J_ID.3' => '03001050010', 'J_Name.3' => 'Identify and determine the oxygen system usage requirements', 'J_Score.3' => '67', 'J_Status.3' => 'F' ); $objectives_list = Array ( 'J_ID.1' => '02031040060', 'J_Name.1' => 'Review the operation and function of the primary flight control system', 'J_Score.1' => '', 'J_Status.1' => 'C', 'J_ID.2' => '02031040070', 'J_Name.2' => 'Review the operation and function of the flap and slat system', 'J_Score.2' => '', 'J_Status.2' => 'I', 'J_ID.3' => '02031040080', 'J_Name.3' => 'Review the operation and function of the spoiler system', 'J_Score.3' => '', 'J_Status.3' => 'N' ); $key = array_search('023031040080', $objectives_list); if($key === false){ echo 'Key not found'; }else{ echo $key; } echo "<br />Last element in array is: " . $array_size(objectives_list);

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.0140.00016.63
8.3.50.0090.00922.02
8.3.40.0070.00718.76
8.3.30.0080.00818.89
8.3.20.0040.00420.33
8.3.10.0050.00323.69
8.3.00.0080.00019.65
8.2.180.0140.00717.00
8.2.170.0090.00622.96
8.2.160.0100.01020.52
8.2.150.0100.00024.18
8.2.140.0120.00324.66
8.2.130.0040.00426.16
8.2.120.0050.00517.75
8.2.110.0090.00020.78
8.2.100.0040.00817.84
8.2.90.0000.00919.05
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0000.00818.03
8.2.50.0030.00618.07
8.2.40.0050.00318.10
8.2.30.0000.00818.04
8.2.20.0050.00317.59
8.2.10.0040.00418.09
8.2.00.0030.00518.13
8.1.280.0040.01125.92
8.1.270.0060.00320.15
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0110.00019.09
8.1.230.0060.00518.83
8.1.220.0030.00517.79
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0040.00418.75
8.1.160.0000.00718.90
8.1.150.0000.00718.84
8.1.140.0000.00817.38
8.1.130.0000.00717.52
8.1.120.0000.00717.29
8.1.110.0070.00017.45
8.1.100.0040.00417.36
8.1.90.0000.00717.45
8.1.80.0000.00817.29
8.1.70.0040.00417.40
8.1.60.0120.00017.42
8.1.50.0040.00417.55
8.1.40.0050.00317.55
8.1.30.0080.00317.66
8.1.20.0070.00017.60
8.1.10.0080.00017.63
8.1.00.0030.00617.41
8.0.300.0040.00418.77
8.0.290.0060.00316.88
8.0.280.0040.00418.40
8.0.270.0000.00717.34
8.0.260.0060.00317.18
8.0.250.0000.00717.02
8.0.240.0070.00016.85
8.0.230.0030.00516.94
8.0.220.0000.00716.81
8.0.210.0070.00016.82
8.0.200.0070.00016.86
8.0.190.0000.00816.90
8.0.180.0040.00416.82
8.0.170.0040.00416.89
8.0.160.0080.00016.93
8.0.150.0040.00416.78
8.0.140.0040.00416.92
8.0.130.0030.00613.39
8.0.120.0040.00416.80
8.0.110.0040.00416.90
8.0.100.0030.00516.85
8.0.90.0000.00716.96
8.0.80.0080.00816.90
8.0.70.0040.00416.93
8.0.60.0000.00816.98
8.0.50.0040.00416.77
8.0.30.0080.01017.06
8.0.20.0100.01317.40
8.0.10.0050.00316.97
8.0.00.0060.01116.85
7.4.330.0050.00015.08
7.4.320.0060.00016.57
7.4.300.0000.00716.51
7.4.290.0050.00316.63
7.4.280.0000.00716.46
7.4.270.0030.00316.44
7.4.260.0030.00316.49
7.4.250.0000.00716.53
7.4.240.0020.00616.54
7.4.230.0000.00716.34
7.4.220.0030.01916.64
7.4.210.0080.00816.48
7.4.200.0030.00316.40
7.4.160.0060.00916.48
7.4.150.0110.01417.40
7.4.140.0120.00917.86
7.4.130.0090.00816.66
7.4.120.0100.01016.60
7.4.110.0140.00716.78
7.4.100.0090.01216.46
7.4.90.0090.00916.64
7.4.80.0040.01219.39
7.4.70.0040.01116.46
7.4.60.0040.01216.41
7.4.50.0040.00416.51
7.4.40.0080.00816.56
7.4.30.0120.01216.44
7.4.00.0070.01014.94
7.3.330.0050.00013.25
7.3.320.0000.00613.18
7.3.310.0000.00816.33
7.3.300.0070.00016.39
7.3.290.0090.01016.33
7.3.280.0050.01116.30
7.3.270.0070.01117.40
7.3.260.0130.00416.79
7.3.250.0080.00816.39
7.3.240.0090.00916.23
7.3.230.0120.01216.39
7.3.210.0070.01016.18
7.3.200.0140.01016.32
7.3.190.0060.01616.43
7.3.180.0070.01016.59
7.3.170.0060.01016.33
7.3.160.0090.01316.48
7.3.120.0170.00314.98
7.3.110.0030.01514.95
7.3.100.0070.00715.08
7.3.90.0050.00514.98
7.3.80.0000.01114.77
7.3.70.0070.00714.70
7.3.60.0070.00414.65
7.3.50.0100.00314.89
7.3.40.0040.00414.83
7.3.30.0080.00514.90
7.3.20.0060.00316.32
7.3.10.0060.00316.67
7.3.00.0070.00716.57
7.2.330.0100.01016.75
7.2.320.0090.01216.46
7.2.310.0030.01316.60
7.2.300.0060.01016.54
7.2.290.0070.01116.74
7.2.250.0040.01515.06
7.2.240.0100.01015.28
7.2.230.0070.01114.97
7.2.220.0130.00014.96
7.2.210.0030.01415.26
7.2.200.0030.00715.01
7.2.190.0040.01215.12
7.2.180.0090.00614.73
7.2.170.0030.00615.13
7.2.60.0030.01316.86
7.2.00.0070.01019.31
7.1.330.0070.00715.80
7.1.320.0060.00615.57
7.1.310.0000.01615.67
7.1.300.0110.00415.75
7.1.290.0110.00315.83
7.1.280.0070.00715.90
7.1.270.0070.01115.68
7.1.260.0000.00915.78
7.1.200.0070.00315.73
7.1.100.0100.00717.77
7.1.70.0040.01117.27
7.1.60.0060.01619.17
7.1.50.0250.01434.80
7.1.00.0000.07722.27
7.0.200.0000.00816.46
7.0.60.0170.06019.95
7.0.50.0130.06317.91
7.0.40.0030.06020.40
7.0.30.0230.06020.01
7.0.20.0230.05720.16
7.0.10.0100.07720.00
7.0.00.0030.04020.07
5.6.280.0000.07721.12
5.6.210.0200.06720.56
5.6.200.0070.04318.12
5.6.190.0070.05320.56
5.6.180.2930.04020.62
5.6.170.0270.07020.50
5.6.160.0030.04720.72
5.6.150.0000.04318.11
5.6.140.0000.08318.22
5.6.130.0100.08318.12
5.6.120.0230.06720.97
5.6.110.0170.07721.00
5.6.100.0030.04021.13
5.6.90.0070.08021.09
5.6.80.0070.08320.40
5.6.70.3370.03720.49
5.5.350.0130.04320.46
5.5.340.0070.05017.98
5.5.330.0030.07020.41
5.5.320.0330.03720.18
5.5.310.0230.05320.30
5.5.300.0100.03317.91
5.5.290.0000.04717.88
5.5.280.0070.05320.74
5.5.270.0070.08020.93
5.5.260.0170.07320.79
5.5.250.0030.08720.46
5.5.240.0300.06020.37
5.4.450.0700.06019.55
5.4.440.0730.05319.46
5.4.430.0770.06319.46
5.4.420.1000.04319.09
5.4.410.0800.04019.34
5.4.400.0800.03718.92
5.4.390.0730.05719.28
5.4.380.1000.04319.22
5.4.370.0730.04719.14
5.4.360.0630.05319.19
5.4.350.0900.04319.30
5.4.340.0870.05719.28
5.4.320.0800.05719.09
5.4.310.0800.05319.28
5.4.300.0800.05719.18
5.4.290.0830.06318.99
5.4.280.0770.06019.08
5.4.270.0830.05319.17
5.4.260.0830.07719.15
5.4.250.0830.05019.12
5.4.240.0870.05019.31
5.4.230.0830.05319.18
5.4.220.0830.05718.98
5.4.210.0870.04719.12
5.4.200.0830.05019.14
5.4.190.0830.05319.27
5.4.180.0830.05019.12
5.4.170.1030.03318.98
5.4.160.0870.05019.26
5.4.150.0870.05318.77
5.4.140.0900.05316.30
5.4.130.0870.04716.34
5.4.120.0770.05316.28
5.4.110.0770.04716.45
5.4.100.0770.04316.45
5.4.90.0770.05316.42
5.4.80.0870.06316.18
5.4.70.0400.06016.29
5.4.60.0130.04016.21
5.4.50.0100.03016.39
5.4.40.0200.06316.48
5.4.30.0300.06016.46
5.4.20.0100.06316.36

preferences:
49.01 ms | 401 KiB | 5 Q