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

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.00416.50
8.3.50.0130.01021.21
8.3.40.0120.00318.80
8.3.30.0110.00418.59
8.3.20.0040.00420.35
8.3.10.0080.00023.66
8.3.00.0060.00319.55
8.2.180.0030.01016.38
8.2.170.0060.00922.96
8.2.160.0080.00820.48
8.2.150.0080.00324.18
8.2.140.0050.00324.66
8.2.130.0030.00526.16
8.2.120.0040.00417.75
8.2.110.0050.00522.28
8.2.100.0090.00317.91
8.2.90.0040.00417.63
8.2.80.0000.00818.04
8.2.70.0040.00417.77
8.2.60.0050.00318.05
8.2.50.0040.00418.10
8.2.40.0110.00019.52
8.2.30.0040.00419.83
8.2.20.0060.00317.58
8.2.10.0000.00718.04
8.2.00.0050.00218.05
8.1.280.0100.01025.92
8.1.270.0080.00020.24
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0080.00319.26
8.1.230.0070.00419.22
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0000.00817.10
8.1.180.0060.00318.10
8.1.170.0080.00018.53
8.1.160.0070.00021.86
8.1.150.0000.00818.88
8.1.140.0040.00417.38
8.1.130.0070.00017.64
8.1.120.0030.00417.37
8.1.110.0000.00717.40
8.1.100.0040.00417.41
8.1.90.0000.00717.41
8.1.80.0070.00017.34
8.1.70.0070.00017.42
8.1.60.0070.00317.48
8.1.50.0030.00617.49
8.1.40.0090.00017.41
8.1.30.0040.00717.48
8.1.20.0030.00517.54
8.1.10.0060.00317.53
8.1.00.0030.00617.48
8.0.300.0050.00321.48
8.0.290.0040.00416.63
8.0.280.0070.00018.50
8.0.270.0050.00317.32
8.0.260.0000.00817.25
8.0.250.0000.00716.91
8.0.240.0000.00716.91
8.0.230.0030.00316.89
8.0.220.0000.00616.74
8.0.210.0070.00016.83
8.0.200.0030.00316.89
8.0.190.0030.00516.88
8.0.180.0000.00716.74
8.0.170.0000.00816.89
8.0.160.0040.00416.90
8.0.150.0040.00416.76
8.0.140.0030.00316.68
8.0.130.0070.00013.31
8.0.120.0000.00716.71
8.0.110.0030.00516.69
8.0.100.0020.00516.86
8.0.90.0040.00416.65
8.0.80.0090.00616.82
8.0.70.0050.00216.84
8.0.60.0080.00016.94
8.0.50.0000.00716.83
8.0.30.0080.00917.12
8.0.20.0110.01117.40
8.0.10.0040.00416.96
8.0.00.0070.01016.68
7.4.330.0000.00515.20
7.4.320.0040.00416.55
7.4.300.0030.00316.54
7.4.290.0030.00316.42
7.4.280.0030.00616.40
7.4.270.0000.00716.58
7.4.260.0000.00716.63
7.4.250.0040.00416.51
7.4.240.0000.00816.59
7.4.230.0000.00716.25
7.4.220.0090.00916.61
7.4.210.0030.01416.47
7.4.200.0000.00716.70
7.4.160.0130.00316.43
7.4.150.0150.00317.40
7.4.140.0140.00617.86
7.4.130.0080.00916.44
7.4.120.0100.00716.57
7.4.110.0090.00916.56
7.4.100.0120.00616.52
7.4.90.0030.01316.48
7.4.80.0100.00719.39
7.4.70.0060.01116.62
7.4.60.0060.01116.43
7.4.50.0000.00416.43
7.4.40.0030.01316.43
7.4.30.0120.01416.47
7.4.00.0070.00914.71
7.3.330.0030.00313.14
7.3.320.0040.00413.13
7.3.310.0000.00816.13
7.3.300.0070.00016.06
7.3.290.0040.01016.18
7.3.280.0080.00816.22
7.3.270.0110.00717.40
7.3.260.0070.01016.75
7.3.250.0090.00816.33
7.3.240.0060.01016.23
7.3.230.0030.01316.39
7.3.210.0100.00716.45
7.3.200.0140.00416.34
7.3.190.0100.01016.45
7.3.180.0090.01316.24
7.3.170.0070.01016.45
7.3.160.0130.00316.32
7.3.120.0060.01014.73
7.3.110.0060.01214.96
7.3.100.0070.00714.96
7.3.90.0070.00714.80
7.3.80.0100.00315.02
7.3.70.0090.00914.82
7.3.60.0000.01314.69
7.3.50.0040.01114.91
7.3.40.0070.00714.60
7.3.30.0030.01014.65
7.3.20.0070.00716.41
7.3.10.0070.01016.68
7.3.00.0080.00816.60
7.2.330.0110.00816.52
7.2.320.0060.01516.46
7.2.310.0060.00916.48
7.2.300.0090.00616.63
7.2.290.0060.01116.57
7.2.250.0100.01015.26
7.2.240.0130.00014.97
7.2.230.0070.00714.82
7.2.220.0090.00615.00
7.2.210.0100.00314.72
7.2.200.0090.00315.08
7.2.190.0100.00714.87
7.2.180.0000.01314.87
7.2.170.0030.00614.82
7.2.160.0000.01214.82
7.2.150.0040.01116.92
7.2.140.0090.00016.78
7.2.130.0070.00816.87
7.2.120.0120.00316.82
7.2.110.0070.00716.99
7.2.100.0060.00917.00
7.2.90.0030.01316.75
7.2.80.0070.00716.86
7.2.70.0110.00316.75
7.2.60.0080.00316.91
7.2.50.0070.01017.00
7.2.40.0040.00716.92
7.2.30.0040.01116.89
7.2.20.0050.01217.02
7.2.10.0070.01016.57
7.2.00.0100.00716.85
7.1.330.0140.00315.78
7.1.320.0000.01015.80
7.1.310.0120.00315.69
7.1.300.0080.00415.67
7.1.290.0060.00315.91
7.1.280.0060.00315.57
7.1.270.0110.00315.76
7.1.260.0030.00715.78
7.1.250.0090.00615.81
7.1.240.0030.01015.82
7.1.230.0040.01115.62
7.1.220.0070.00715.78
7.1.210.0040.01115.48
7.1.200.0050.00515.79
7.1.190.0030.01015.88
7.1.180.0040.00415.89
7.1.170.0060.00915.86
7.1.160.0090.00615.91
7.1.150.0070.01115.89
7.1.140.0040.01415.79
7.1.130.0030.01415.68
7.1.120.0030.00515.80
7.1.110.0030.01415.80
7.1.100.0040.01415.73
7.1.90.0030.01315.70
7.1.80.0000.01115.86
7.1.70.0030.00616.45
7.1.60.0090.00917.46
7.1.50.0080.01016.21
7.1.40.0060.00615.75
7.1.30.0040.00715.63
7.1.20.0040.01115.50
7.1.10.0070.00715.95
7.1.00.0020.04319.09
7.0.330.0050.01115.07
7.0.320.0030.01015.50
7.0.310.0120.00315.43
7.0.300.0120.00015.34
7.0.290.0090.00015.12
7.0.280.0060.01115.40
7.0.270.0070.00415.17
7.0.260.0030.01015.51
7.0.250.0040.00815.26
7.0.240.0070.01015.36
7.0.230.0090.00615.09
7.0.220.0000.01115.39
7.0.210.0000.01215.16
7.0.200.0000.01116.05
7.0.190.0070.00715.23
7.0.180.0060.00615.30
7.0.170.0040.00415.45
7.0.160.0040.00815.33
7.0.150.0040.00715.09
7.0.140.0040.01115.21
7.0.130.0100.00315.42
7.0.120.0030.00715.54
7.0.110.0020.02317.76
7.0.100.0030.02617.58
7.0.90.0080.02017.61
7.0.80.0150.01717.44
7.0.70.0110.01917.52
7.0.60.0160.02417.60
7.0.50.0100.03017.63
7.0.40.0030.02516.59
7.0.30.0040.02216.64
7.0.20.0010.02416.45
7.0.10.0070.01816.51
7.0.00.0040.02216.52
5.6.400.0080.00414.30
5.6.390.0110.00714.16
5.6.380.0070.00714.64
5.6.370.0130.00314.20
5.6.360.0090.00013.92
5.6.350.0090.00014.35
5.6.340.0000.01014.38
5.6.330.0040.00714.38
5.6.320.0080.00814.28
5.6.310.0100.00314.52
5.6.300.0040.00714.61
5.6.290.0050.00514.24
5.6.280.0000.03017.70
5.6.270.0120.00014.40
5.6.260.0030.02217.56
5.6.250.0030.02517.54
5.6.240.0060.02317.48
5.6.230.0050.01917.63
5.6.220.0020.02217.38
5.6.210.0080.01917.56
5.6.200.0100.02117.59
5.6.190.0050.01917.41
5.6.180.0060.02317.55
5.6.170.0050.02817.58
5.6.160.0070.02417.46
5.6.150.0040.02417.54
5.6.140.0030.02417.46
5.6.130.0030.02517.39
5.6.120.0030.02517.46
5.6.110.0090.01817.40
5.6.100.0070.02417.54
5.6.90.0080.02417.41
5.6.80.0040.02217.03
5.6.70.0050.02317.09
5.6.60.0030.02217.10
5.6.50.0040.02717.05
5.6.40.0050.02017.11
5.6.30.0040.02617.10
5.6.20.0020.02417.15
5.6.10.0030.02217.03
5.6.00.0070.02517.08
5.5.380.0050.01816.03
5.5.370.0060.01815.96
5.5.360.0050.02416.06
5.5.350.0030.02615.99
5.5.340.0070.02216.19
5.5.330.0050.02616.19
5.5.320.0030.02816.03
5.5.310.0080.02316.25
5.5.300.0080.01816.16
5.5.290.0050.02016.05
5.5.280.0060.02016.23
5.5.270.0030.03416.21
5.5.260.0030.02916.19
5.5.250.0030.02715.78
5.5.240.0030.02115.83
5.5.230.0060.02015.74
5.5.220.0030.02415.81
5.5.210.0040.02715.79
5.5.200.0090.01815.76
5.5.190.0020.02315.71
5.5.180.0070.01815.74
5.5.170.0060.00914.32
5.5.160.0020.02315.58
5.5.150.0020.02915.97
5.5.140.0100.04215.56
5.5.130.0090.01515.77
5.5.120.0020.01915.54
5.5.110.0070.02315.64
5.5.100.0070.03015.68
5.5.90.0050.03615.64
5.5.80.0030.02315.63
5.5.70.0050.02315.71
5.5.60.0060.02415.51
5.5.50.0030.02615.70
5.5.40.0010.02815.89
5.5.30.0030.02415.66
5.5.20.0050.01815.71
5.5.10.0030.01815.72
5.5.00.0070.01915.54
5.4.450.0030.02215.27
5.4.440.0030.01915.21
5.4.430.0110.03615.25
5.4.420.0030.02815.29
5.4.410.0070.02015.09
5.4.400.0020.02015.00
5.4.390.0050.01915.16
5.4.380.0080.02315.11
5.4.370.0030.01715.15
5.4.360.0050.01815.04
5.4.350.0020.02515.11
5.4.340.0030.02115.02
5.4.330.0040.00711.05
5.4.320.0080.01715.06
5.4.310.0010.02115.00
5.4.300.0080.02515.16
5.4.290.0040.02015.02
5.4.280.0060.01815.13
5.4.270.0030.02715.10
5.4.260.0020.02915.04
5.4.250.0100.03015.02
5.4.240.0050.02015.19
5.4.230.0030.02115.01
5.4.220.0040.02415.16
5.4.210.0060.01815.08
5.4.200.0050.01815.02
5.4.190.0050.01915.07
5.4.180.0040.02115.02
5.4.170.0020.02415.08
5.4.160.0010.02115.10
5.4.150.0050.01815.02
5.4.140.0070.01913.74
5.4.130.0070.01813.64
5.4.120.0080.02213.72
5.4.110.0000.02213.60
5.4.100.0000.02613.67
5.4.90.0050.01813.78
5.4.80.0030.01813.58
5.4.70.0070.02913.79
5.4.60.0020.01813.59
5.4.50.0110.01413.71
5.4.40.0080.01813.78
5.4.30.0000.02113.63
5.4.20.0070.01613.70
5.4.10.0040.03013.78
5.4.00.0020.02513.40

preferences:
36.47 ms | 401 KiB | 5 Q