3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data_array[] = array( 'Student ID', 'First Name', 'Last Name', 'Employee Email', 'Student Email', 'Current Faculty', 'Current Student', 'Time Scanned' ); // Find out which keys we will save $arrSave = array(0, 2, 4); $arrSaveKeys = array_flip($arrSave); $data_array = array_intersect_key($data_array[0], $arrSaveKeys); var_dump($data_array);

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.0100.01018.18
8.3.50.0080.01222.05
8.3.40.0120.00918.97
8.3.30.0110.00419.23
8.3.20.0050.00320.21
8.3.10.0040.00421.95
8.3.00.0040.00417.80
8.2.180.0110.01116.38
8.2.170.0080.01522.96
8.2.160.0060.01020.52
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0090.00926.16
8.2.120.0000.00820.88
8.2.110.0000.01019.27
8.2.100.0090.00317.72
8.2.90.0000.00817.84
8.2.80.0050.00317.97
8.2.70.0080.00017.80
8.2.60.0000.00817.93
8.2.50.0040.00418.10
8.2.40.0000.00822.01
8.2.30.0000.01018.05
8.2.20.0050.00317.60
8.2.10.0040.00418.07
8.2.00.0050.00217.60
8.1.280.0070.00725.92
8.1.270.0050.00223.99
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0070.00420.57
8.1.230.0110.00022.70
8.1.220.0000.00817.74
8.1.210.0030.00520.54
8.1.200.0050.00317.23
8.1.190.0050.00317.00
8.1.180.0050.00318.10
8.1.170.0000.00818.52
8.1.160.0070.00021.86
8.1.150.0000.00718.86
8.1.140.0040.00417.34
8.1.130.0070.00017.81
8.1.120.0000.00717.40
8.1.110.0040.00417.38
8.1.100.0070.00017.38
8.1.90.0000.00717.35
8.1.80.0040.00417.39
8.1.70.0030.00317.31
8.1.60.0000.00717.40
8.1.50.0000.00817.36
8.1.40.0040.00417.50
8.1.30.0040.00417.62
8.1.20.0030.00617.52
8.1.10.0030.00517.47
8.1.00.0040.00417.49
8.0.300.0000.00719.93
8.0.290.0040.00416.63
8.0.280.0030.00318.31
8.0.270.0040.00417.11
8.0.260.0030.00317.10
8.0.250.0030.00316.92
8.0.240.0030.00316.86
8.0.230.0000.00716.91
8.0.220.0030.00616.72
8.0.210.0030.00316.70
8.0.200.0030.00316.82
8.0.190.0030.00516.88
8.0.180.0000.00816.78
8.0.170.0040.00416.84
8.0.160.0030.00316.81
8.0.150.0040.00416.79
8.0.140.0050.00316.74
8.0.130.0030.00313.21
8.0.120.0090.00016.68
8.0.110.0040.00416.72
8.0.100.0040.00416.68
8.0.90.0000.00816.66
8.0.80.0090.01016.89
8.0.70.0070.00016.71
8.0.60.0000.00716.76
8.0.50.0050.00316.88
8.0.30.0110.00817.12
8.0.20.0090.01017.40
8.0.10.0040.00417.00
8.0.00.0130.00916.75
7.4.330.0050.00015.00
7.4.320.0000.00616.56
7.4.300.0040.00416.51
7.4.290.0000.00716.30
7.4.280.0030.00616.44
7.4.270.0000.00716.49
7.4.260.0000.00716.43
7.4.250.0040.00416.49
7.4.240.0030.00316.41
7.4.230.0000.00716.62
7.4.220.0070.01816.52
7.4.210.0030.01216.53
7.4.200.0030.00316.52
7.4.160.0080.00816.24
7.4.150.0100.00717.40
7.4.140.0100.00817.86
7.4.130.0100.00716.34
7.4.120.0030.01316.42
7.4.110.0100.00716.59
7.4.100.0130.00616.38
7.4.90.0110.00716.53
7.4.80.0060.01219.39
7.4.70.0100.00716.59
7.4.60.0120.00616.39
7.4.50.0060.00316.39
7.4.40.0110.00516.48
7.4.30.0090.00616.42
7.4.00.0140.00314.93
7.3.330.0000.00613.06
7.3.320.0000.00513.25
7.3.310.0040.00416.41
7.3.300.0030.00316.18
7.3.290.0030.01016.18
7.3.280.0100.00816.19
7.3.270.0120.00617.40
7.3.260.0070.01016.54
7.3.250.0050.01316.40
7.3.240.0070.01016.51
7.3.230.0100.00716.54
7.3.210.0070.01116.37
7.3.200.0060.01019.39
7.3.190.0090.00916.33
7.3.180.0060.00916.26
7.3.170.0060.00916.55
7.3.160.0090.00616.18
7.3.120.0000.01414.98
7.3.10.0060.00916.36
7.3.00.0000.00816.41
7.2.330.0210.00316.70
7.2.320.0160.00016.36
7.2.310.0090.00716.56
7.2.300.0090.00916.48
7.2.290.0060.01216.41
7.2.130.0060.00717.06
7.2.120.0090.00616.70
7.2.110.0040.01116.86
7.2.100.0060.00916.84
7.2.90.0070.00316.75
7.2.80.0060.00916.82
7.2.70.0070.00716.88
7.2.60.0040.01216.52
7.2.50.0070.00417.10
7.2.40.0110.00316.92
7.2.30.0100.00616.85
7.2.20.0070.00716.81
7.2.10.0080.00316.71
7.2.00.0040.01416.75
7.1.250.0060.00915.51
7.1.240.0070.00015.80
7.1.230.0000.00815.10
7.1.220.0060.00615.68
7.1.210.0070.00715.77
7.1.200.0070.00815.61
7.1.190.0030.00615.48
7.1.180.0090.00615.73
7.1.170.0060.00815.63
7.1.160.0030.01015.70
7.1.150.0120.00315.53
7.1.140.0070.00715.83
7.1.130.0030.01015.39
7.1.120.0090.00315.81
7.1.110.0000.01115.63
7.1.100.0110.00315.41
7.1.90.0000.01315.70
7.1.80.0000.01415.75
7.1.70.0070.00716.42
7.1.60.0050.01017.38
7.1.50.0050.01116.40
7.1.40.0120.00015.61
7.1.30.0070.00715.70
7.1.20.0000.01315.65
7.1.10.0130.00015.52
7.1.00.0000.04619.14
7.0.330.0030.01015.43
7.0.320.0100.00315.21
7.0.310.0060.00315.41
7.0.300.0030.00615.21
7.0.290.0060.00615.11
7.0.280.0080.00815.38
7.0.270.0030.00615.48
7.0.260.0110.00415.14
7.0.250.0120.00415.63
7.0.240.0120.00315.42
7.0.230.0060.00315.27
7.0.220.0070.01015.24
7.0.210.0060.00815.17
7.0.200.0080.00615.95
7.0.190.0000.01215.21
7.0.180.0110.00415.50
7.0.170.0090.00415.41
7.0.160.0040.00415.13
7.0.150.0030.00615.27
7.0.140.0040.03918.57
7.0.130.0060.00815.39
7.0.120.0070.00615.19
7.0.110.0040.01115.43
7.0.100.0030.01014.91
7.0.90.0040.00715.59
7.0.80.0090.00615.55
7.0.70.0060.00315.13
7.0.60.0050.03817.51
7.0.50.0050.04316.65
7.0.40.0040.02816.78
7.0.30.0130.04316.76
7.0.20.0160.02816.81
7.0.10.0030.04916.64
7.0.00.0120.03916.74
5.6.380.0030.00714.07
5.6.370.0000.01314.02
5.6.360.0040.01113.79
5.6.350.0030.01014.18
5.6.340.0000.01214.01
5.6.330.0040.01114.40
5.6.320.0070.00714.18
5.6.310.0040.01114.60
5.6.300.0100.00314.31
5.6.290.0040.00814.28
5.6.280.0090.03617.63
5.6.270.0040.01214.18
5.6.260.0040.01114.52
5.6.250.0070.01114.58
5.6.240.0000.01414.35
5.6.230.0030.01014.23
5.6.220.0030.00614.02
5.6.210.0100.03617.45
5.6.200.0050.04916.05
5.6.190.0050.02917.38
5.6.180.0120.02417.40
5.6.170.0090.02517.48
5.6.160.0050.04517.28
5.6.150.0120.02016.03
5.6.140.0050.03416.23
5.6.130.0010.03816.14
5.6.120.0050.02417.55
5.6.110.0100.04017.70
5.6.100.0020.02917.64
5.6.90.0050.04617.49
5.6.80.0110.03817.32
5.6.70.0080.00413.97
5.6.60.0000.01614.31
5.6.50.0060.00614.27
5.6.40.0000.01013.95
5.6.30.0030.01314.26
5.6.20.0070.00314.24
5.6.10.0070.00714.38
5.6.00.0030.00614.30
5.5.380.0040.00711.05
5.5.370.0050.00511.07
5.5.360.0090.00310.91
5.5.350.0240.03515.63
5.5.340.0060.03314.34
5.5.330.0020.03515.73
5.5.320.0150.02315.57
5.5.310.0140.02315.69
5.5.300.0060.04114.35
5.5.290.0050.03314.50
5.5.280.0030.03515.92
5.5.270.0060.03916.04
5.5.260.0030.02615.63
5.5.250.0100.03215.77
5.5.240.0050.04015.55
5.5.230.0060.00611.11
5.5.220.0040.00711.10
5.5.210.0070.00311.01
5.5.200.0070.00310.71
5.5.190.0000.01110.87
5.5.180.0100.00010.93
5.5.170.0050.00511.14
5.5.160.0090.00011.16
5.5.150.0060.00611.22
5.5.140.0030.00310.81
5.5.130.0030.00710.82
5.5.120.0050.00511.04
5.5.110.0000.01311.03
5.5.100.0030.00711.11
5.5.90.0060.00611.23
5.5.80.0030.01011.16
5.5.70.0030.00310.74
5.5.60.0120.00011.13
5.5.50.0060.00610.86
5.5.40.0030.01010.93
5.5.30.0060.00610.86
5.5.20.0030.00310.83
5.5.10.0000.01210.97
5.5.00.0030.00310.88
5.4.450.0360.02915.25
5.4.440.0380.03815.12
5.4.430.0330.02815.06
5.4.420.0450.02815.38
5.4.410.0050.03214.97
5.4.400.0140.03214.78
5.4.390.0270.02214.76
5.4.380.0110.02514.64
5.4.370.0080.02814.87
5.4.360.0050.02914.69
5.4.350.0080.02411.47
5.4.340.0080.02011.58
5.4.330.0000.01210.98
5.4.320.0070.02511.74
5.4.310.0050.02411.72
5.4.300.0030.02311.55
5.4.290.0050.02111.65
5.4.280.0080.02111.77
5.4.270.0020.02311.65
5.4.260.0050.02311.72
5.4.250.0080.02011.70
5.4.240.0100.01711.51
5.4.230.0040.02511.68
5.4.220.0060.02111.71
5.4.210.0020.02411.70
5.4.200.0050.02011.71
5.4.190.0040.02311.64
5.4.180.0010.02511.52
5.4.170.0040.02211.62
5.4.160.0060.02111.78
5.4.150.0050.02411.64
5.4.140.0040.02211.44
5.4.130.0060.02011.43
5.4.120.0030.02011.42
5.4.110.0050.02111.45
5.4.100.0050.01911.24
5.4.90.0070.02111.55
5.4.80.0030.02411.43
5.4.70.0040.02011.58
5.4.60.0050.02111.38
5.4.50.0060.02011.39
5.4.40.0110.01611.46
5.4.30.0050.02111.52
5.4.20.0040.02311.36
5.4.10.0060.02011.54
5.4.00.0050.02111.12
5.3.290.0050.02211.69
5.3.280.0040.02311.58
5.3.270.0050.02111.68
5.3.260.0070.02111.66
5.3.250.0040.02311.61
5.3.240.0050.01911.52
5.3.230.0060.02311.65
5.3.220.0060.02711.49
5.3.210.0060.02211.52
5.3.200.0050.02211.53
5.3.190.0050.02211.53
5.3.180.0050.02511.61
5.3.170.0030.02611.52
5.3.160.0060.01911.61
5.3.150.0020.02311.58
5.3.140.0060.02211.57
5.3.130.0030.02311.62
5.3.120.0040.02411.61
5.3.110.0060.02111.60
5.3.100.0050.02111.29
5.3.90.0050.02211.26
5.3.80.0050.02011.23
5.3.70.0030.02411.13
5.3.60.0050.02111.22
5.3.50.0070.01611.08
5.3.40.0040.02511.05
5.3.30.0020.02611.16
5.3.20.0070.01611.02
5.3.10.0070.01910.90
5.3.00.0040.02210.94
5.2.170.0020.0209.42
5.2.160.0050.0169.42
5.2.150.0030.0189.42
5.2.140.0020.0209.41
5.2.130.0060.0209.40
5.2.120.0070.0149.40
5.2.110.0040.0249.40
5.2.100.0030.0179.40
5.2.90.0020.0209.40
5.2.80.0050.0169.39
5.2.70.0040.0199.40
5.2.60.0040.0199.37
5.2.50.0040.0209.36
5.2.40.0020.0199.35
5.2.30.0010.0199.33
5.2.20.0030.0199.33
5.2.10.0040.0209.30
5.2.00.0060.0159.22
5.1.60.0050.0148.87
5.1.50.0040.0138.87
5.1.40.0020.0168.86
5.1.30.0040.0149.03
5.1.20.0060.0149.04
5.1.10.0060.0128.91
5.1.00.0060.0158.90
5.0.50.0040.0138.14
5.0.40.0050.0108.07
5.0.30.0050.0157.97
5.0.20.0020.0127.96
5.0.10.0030.0117.95
5.0.00.0020.0177.95
4.4.90.0030.0107.21
4.4.80.0010.0107.21
4.4.70.0010.0117.21
4.4.60.0020.0117.21
4.4.50.0020.0107.21
4.4.40.0010.0157.18
4.4.30.0020.0117.21
4.4.20.0020.0107.25
4.4.10.0010.0127.25
4.4.00.0040.0147.21
4.3.110.0030.0107.16
4.3.100.0030.0097.16
4.3.90.0020.0097.15
4.3.80.0030.0147.12
4.3.70.0010.0107.14
4.3.60.0010.0117.14
4.3.50.0020.0097.14
4.3.40.0050.0127.10
4.3.30.0010.0106.47
4.3.20.0030.0106.46
4.3.10.0030.0096.44
4.3.00.0080.0138.39

preferences:
40.86 ms | 401 KiB | 5 Q