3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data_array = array(); $arrDataKeys = 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($arrDataKeys, $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.43
8.3.50.0060.01121.95
8.3.40.0070.00718.75
8.3.30.0120.00319.14
8.3.20.0000.00820.14
8.3.10.0070.00021.77
8.3.00.0050.00317.80
8.2.180.0100.00616.32
8.2.170.0070.01122.96
8.2.160.0100.00320.43
8.2.150.0070.00024.18
8.2.140.0030.00524.66
8.2.130.0090.00626.16
8.2.120.0040.00420.97
8.2.110.0060.00322.30
8.2.100.0120.00019.45
8.2.90.0040.00419.09
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0040.00418.04
8.2.50.0030.00518.07
8.2.40.0030.00518.15
8.2.30.0030.00717.94
8.2.20.0000.00717.68
8.2.10.0000.00818.02
8.2.00.0020.00517.57
8.1.280.0140.00725.92
8.1.270.0090.00023.88
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00723.77
8.1.230.0080.00419.10
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0040.00818.47
8.1.160.0040.00422.00
8.1.150.0070.00018.75
8.1.140.0000.00717.35
8.1.130.0030.00317.83
8.1.120.0040.00417.31
8.1.110.0050.00317.44
8.1.100.0070.00017.46
8.1.90.0040.00417.44
8.1.80.0030.00617.35
8.1.70.0030.00317.30
8.1.60.0040.00417.37
8.1.50.0030.00517.43
8.1.40.0040.00417.36
8.1.30.0000.00817.55
8.1.20.0000.00717.61
8.1.10.0050.00517.46
8.1.00.0070.00017.40
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0030.00318.34
8.0.270.0040.00417.11
8.0.260.0030.00317.10
8.0.250.0030.00316.92
8.0.240.0000.00716.96
8.0.230.0000.00716.89
8.0.220.0030.00516.81
8.0.210.0070.00016.73
8.0.200.0030.00316.87
8.0.190.0050.00316.84
8.0.180.0040.00316.91
8.0.170.0080.00016.71
8.0.160.0030.00416.86
8.0.150.0040.00416.84
8.0.140.0100.00016.79
8.0.130.0060.00013.21
8.0.120.0030.00516.78
8.0.110.0000.00816.83
8.0.100.0070.00016.64
8.0.90.0070.00016.75
8.0.80.0060.00916.87
8.0.70.0080.00016.89
8.0.60.0000.00716.82
8.0.50.0000.00816.95
8.0.30.0060.01317.08
8.0.20.0080.01417.40
8.0.10.0080.00016.95
8.0.00.0090.01016.69
7.4.330.0000.00515.11
7.4.320.0060.00016.49
7.4.300.0070.00016.50
7.4.290.0030.00316.49
7.4.280.0030.00616.48
7.4.270.0000.00816.45
7.4.260.0030.00316.41
7.4.250.0070.00016.41
7.4.240.0050.00216.46
7.4.230.0000.00716.33
7.4.220.0030.02116.54
7.4.210.0030.01016.58
7.4.200.0040.00416.44
7.4.160.0060.00916.38
7.4.150.0160.00017.40
7.4.140.0140.00717.86
7.4.130.0070.01016.33
7.4.120.0100.01116.51
7.4.110.0060.01016.42
7.4.100.0090.00916.37
7.4.90.0130.00916.50
7.4.80.0130.01019.39
7.4.70.0090.01216.45
7.4.60.0160.00016.14
7.4.50.0000.00816.44
7.4.40.0060.01016.39
7.4.30.0070.01016.38
7.4.00.0030.00914.80
7.3.330.0050.00013.11
7.3.320.0050.00013.04
7.3.310.0030.00316.28
7.3.300.0040.00416.09
7.3.290.0070.00716.20
7.3.280.0110.00816.15
7.3.270.0100.00717.40
7.3.260.0100.00716.46
7.3.250.0130.00516.48
7.3.240.0090.00816.64
7.3.230.0120.00816.52
7.3.210.0160.00016.23
7.3.200.0100.00619.39
7.3.190.0060.00916.50
7.3.180.0100.00616.50
7.3.170.0110.00616.32
7.3.160.0120.00316.38
7.3.120.0070.01114.73
7.2.330.0070.01016.43
7.2.320.0120.00916.23
7.2.310.0130.00316.63
7.2.300.0140.00416.60
7.2.290.0060.01016.71
7.1.70.0030.00517.15
7.1.60.0100.01619.25
7.1.50.0110.00816.89
7.1.00.0130.06722.30
7.0.200.0030.01416.89
7.0.140.0030.07021.95
7.0.60.0030.06019.93
7.0.50.0100.08317.90
7.0.40.0070.08320.40
7.0.30.0300.07720.18
7.0.20.0330.07020.02
7.0.10.0130.08020.33
7.0.00.0100.07720.29
5.6.280.0030.07321.03
5.6.210.0130.05320.69
5.6.200.0100.04318.15
5.6.190.0100.07020.43
5.6.180.0330.06720.61
5.6.170.0400.05020.33
5.6.160.0070.04020.51
5.6.150.0130.03318.21
5.6.140.0030.08718.11
5.6.130.0100.05318.20
5.6.120.0030.04321.04
5.6.110.0070.08721.08
5.6.100.0130.07020.97
5.6.90.0070.06321.09
5.6.80.0100.03720.37
5.5.350.0270.07020.43
5.5.340.0030.04017.92
5.5.330.0070.04720.21
5.5.320.3700.04320.21
5.5.310.0200.04720.50
5.5.300.0130.07717.98
5.5.290.0030.04017.92
5.5.280.0100.07720.89
5.5.270.0070.03720.77
5.5.260.0030.07320.83
5.5.250.0070.08020.61
5.5.240.0070.07320.14
5.4.450.0270.06019.41
5.4.440.0700.04719.12
5.4.430.0170.04719.48
5.4.420.0200.04719.49
5.4.410.0130.05018.91
5.4.400.0100.05718.81
5.4.390.0030.05718.69
5.4.380.0200.06318.57
5.4.370.0100.04318.59
5.4.360.0100.04718.60
5.4.350.0070.04011.97
5.4.340.0080.03911.97
5.4.320.0060.04012.46
5.4.310.0040.04012.45
5.4.300.0060.03612.45
5.4.290.0090.03512.45
5.4.280.0060.03412.34
5.4.270.0080.03412.34
5.4.260.0050.03812.34
5.4.250.0060.03712.34
5.4.240.0060.03612.34
5.4.230.0070.03612.34
5.4.220.0050.03712.34
5.4.210.0070.03412.34
5.4.200.0070.03712.34
5.4.190.0070.03612.34
5.4.180.0050.03712.33
5.4.170.0090.03412.34
5.4.160.0050.03712.34
5.4.150.0090.03312.34
5.4.140.0050.03912.02
5.4.130.0060.03712.01
5.4.120.0060.03611.97
5.4.110.0090.03311.96
5.4.100.0080.03311.96
5.4.90.0060.03711.96
5.4.80.0090.03311.96
5.4.70.0050.04611.96
5.4.60.0070.03311.96
5.4.50.0060.03411.96
5.4.40.0070.03311.95
5.4.30.0070.03811.95
5.4.20.0080.03411.95
5.4.10.0060.03911.95
5.4.00.0100.03811.44
5.3.290.0020.04312.80
5.3.280.0070.03912.71
5.3.270.0100.04012.73
5.3.260.0130.04012.72
5.3.250.0090.04112.72
5.3.240.0070.04012.72
5.3.230.0030.04512.71
5.3.220.0080.04012.68
5.3.210.0050.04512.68
5.3.200.0090.04412.68
5.3.190.0070.03812.68
5.3.180.0040.04012.68
5.3.170.0070.03612.67
5.3.160.0080.03412.67
5.3.150.0060.03812.67
5.3.140.0070.03812.66
5.3.130.0060.04012.66
5.3.120.0050.04312.66
5.3.110.0040.04612.66
5.3.100.0050.04312.11
5.3.90.0090.03412.08
5.3.80.0030.03912.08
5.3.70.0090.03312.08
5.3.60.0050.03712.06
5.3.50.0080.03412.00
5.3.40.0040.03912.00
5.3.30.0060.03511.95
5.3.20.0080.03811.72
5.3.10.0060.03511.69
5.3.00.0100.03311.68
5.2.170.0070.0289.18
5.2.160.0020.0319.18
5.2.150.0010.0349.17
5.2.140.0020.0339.18
5.2.130.0020.0329.14
5.2.120.0050.0289.14
5.2.110.0030.0319.14
5.2.100.0060.0279.14
5.2.90.0080.0329.14
5.2.80.0070.0289.14
5.2.70.0050.0309.14
5.2.60.0080.0279.08
5.2.50.0040.0309.06
5.2.40.0070.0269.04
5.2.30.0050.0319.00
5.2.20.0060.0279.00
5.2.10.0040.0298.94
5.2.00.0060.0288.80
5.1.60.0030.0258.08
5.1.50.0050.0248.07
5.1.40.0060.0228.06
5.1.30.0050.0258.41
5.1.20.0050.0268.43
5.1.10.0050.0258.15
5.1.00.0070.0238.16
5.0.50.0030.0216.61
5.0.40.0020.0216.48
5.0.30.0050.0296.29
5.0.20.0030.0206.26
5.0.10.0000.0236.24
5.0.00.0040.0296.23
4.4.90.0040.0144.78
4.4.80.0030.0154.75
4.4.70.0020.0174.76
4.4.60.0020.0164.76
4.4.50.0030.0154.77
4.4.40.0050.0244.71
4.4.30.0030.0154.76
4.4.20.0020.0174.84
4.4.10.0030.0154.85
4.4.00.0050.0234.76
4.3.110.0020.0174.67
4.3.100.0030.0154.66
4.3.90.0020.0154.64
4.3.80.0020.0254.58
4.3.70.0010.0164.63
4.3.60.0050.0134.62
4.3.50.0040.0144.63
4.3.40.0020.0254.54
4.3.30.0020.0163.28
4.3.20.0040.0143.26
4.3.10.0010.0173.22
4.3.00.0030.0206.81

preferences:
43.7 ms | 401 KiB | 5 Q