3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ( 2 => array ( 'name' => 'sitebackup_2019_07_21_10_02_67.zip', 'id' => '/restore_point_backups/sitebackup_2019_07_21_10_02_67.zip', 'created' => 1563787267, ), 1 => array ( 'name' => 'sitebackup_2019_07_21_10_00_38.zip', 'id' => '/restore_point_backups/sitebackup_2019_07_21_10_00_38.zip', 'created' => 1563787197, ), 0 => array ( 'name' => 'sitebackup_2019_07_19_09_48_16.zip', 'id' => '/restore_point_backups/sitebackup_2019_07_19_09_48_16.zip', 'created' => 1563787125, ), ); $array_2 = array ( 0 => array ( 'id' => 'C:\\xampp\\htdocs\\restore_point_backups_fagardesignscom\\files', 'name' => 'sitebackup_2019_07_19_08_52_37.zip', 'created' => 1563519157, ), 1 => array ( 'id' => 'C:\\xampp\\htdocs\\restore_point_backups_fagardesignscom\\files', 'name' => 'sitebackup_2019_07_19_09_48_16.zip', 'created' => 1563522496, ), 2 => array ( 'id' => 'C:\\xampp\\htdocs\\restore_point_backups_fagardesignscom\\files', 'name' => 'sitebackup_2019_07_21_10_00_38.zip', 'created' => 1563696044, ), 3 => array ( 'id' => 'C:\\xampp\\htdocs\\restore_point_backups_fagardesignscom\\files', 'name' => 'sitebackup_2019_07_21_10_02_67.zip', 'created' => 1563696184, ), 4 => array ( 'id' => 'C:\\xampp\\htdocs\\restore_point_backups_fagardesignscom\\files', 'name' => 'sitebackup_2019_07_21_10_12_29.zip', 'created' => 1563696754, ), 5 => array ( 'id' => 'C:\\xampp\\htdocs\\restore_point_backups_fagardesignscom\\files', 'name' => 'sitebackup_2019_Jul_21_10_17_58.zip', 'created' => 1563697083, ), ); //Get the column value from array 2 ny name $array2_col = array_column($array_2, 'name'); foreach($array as $key=>$value){ //if array1 name value exist in array 2 get that key and delete from array 2 using unset. $key = array_search($value['name'], $array2_col); if($key){ unset($array_2[$key]); } } echo "<pre>"; print_r(array_values($array_2));

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.5.00.0140.00919.58
8.4.150.0010.00114.05
8.4.140.0180.00617.52
8.4.130.0120.00817.56
8.4.120.0150.00720.61
8.4.110.0130.00722.59
8.4.100.0040.00417.71
8.4.90.0100.00918.50
8.4.80.0130.00617.79
8.4.70.0110.00818.00
8.4.60.0150.00518.82
8.4.50.0130.00818.86
8.4.40.0130.00719.39
8.4.30.0110.00718.55
8.4.20.0050.01420.79
8.4.10.0130.00317.56
8.3.280.0080.01118.25
8.3.270.0120.00716.74
8.3.260.0050.00516.68
8.3.250.0110.00719.17
8.3.240.0110.00816.50
8.3.230.0100.00716.57
8.3.220.0070.00117.41
8.3.210.0100.00816.65
8.3.200.0130.00716.62
8.3.190.0040.00418.34
8.3.180.0040.00418.49
8.3.170.0120.00620.84
8.3.160.0080.00018.41
8.3.150.0100.01016.50
8.3.140.0030.00617.48
8.3.130.0130.00716.53
8.3.120.0000.01020.80
8.3.110.0060.00320.94
8.3.100.0060.00318.64
8.3.90.0100.00316.54
8.3.80.0070.00318.43
8.3.70.0030.01216.36
8.3.60.0110.01118.31
8.3.50.0080.01022.01
8.3.40.0090.00618.85
8.3.30.0030.01218.49
8.3.20.0050.00223.84
8.3.10.0110.00420.36
8.3.00.0000.00822.39
8.2.290.0080.01120.42
8.2.280.0100.00720.02
8.2.270.0060.01218.97
8.2.260.0000.00816.45
8.2.250.0060.00316.88
8.2.240.0130.00617.29
8.2.230.0000.00922.58
8.2.220.0030.00624.06
8.2.210.0180.00026.77
8.2.200.0030.00616.75
8.2.190.0150.00716.58
8.2.180.0120.00318.29
8.2.170.0150.00022.96
8.2.160.0110.00419.30
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00026.16
8.2.110.0100.01022.20
8.2.100.0000.01217.85
8.2.90.0000.00818.34
8.2.80.0040.00419.34
8.2.70.0050.00317.93
8.2.60.0090.00018.34
8.2.50.0080.00318.07
8.2.40.0040.00418.16
8.2.30.0020.00518.06
8.2.20.0000.01017.99
8.2.10.0040.00419.19
8.2.00.0030.00619.29
8.1.330.0090.00921.80
8.1.320.0120.00816.36
8.1.310.0070.01118.26
8.1.300.0140.00717.56
8.1.290.0050.00518.88
8.1.280.0070.01425.92
8.1.270.0040.00420.71
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00719.26
8.1.230.0060.00620.95
8.1.220.0050.00317.75
8.1.210.0050.00518.77
8.1.200.0000.00917.35
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0050.00318.66
8.1.160.0000.00818.82
8.1.150.0040.00418.88
8.1.140.0030.00320.88
8.1.130.0000.00717.52
8.1.120.0000.00717.36
8.1.110.0000.00817.39
8.1.100.0040.00417.46
8.1.90.0050.00517.47
8.1.80.0040.00417.35
8.1.70.0000.00717.50
8.1.60.0030.00517.52
8.1.50.0030.00617.48
8.1.40.0080.00017.50
8.1.30.0080.00017.53
8.1.20.0000.00817.65
8.1.10.0080.00017.58
8.1.00.0040.00417.52
8.0.300.0050.00220.16
8.0.290.0040.00416.63
8.0.280.0080.00018.36
8.0.270.0000.00717.22
8.0.260.0030.00316.82
8.0.250.0000.00716.98
8.0.240.0020.00517.00
8.0.230.0030.00316.99
8.0.220.0030.00316.90
8.0.210.0000.00716.81
8.0.200.0050.00316.97
8.0.190.0040.00416.99
8.0.180.0030.00516.91
8.0.170.0090.00016.87
8.0.160.0070.00016.86
8.0.150.0000.00716.68
8.0.140.0040.00416.84
8.0.130.0000.00613.30
8.0.120.0030.00516.84
8.0.110.0050.00316.88
8.0.100.0040.00416.88
8.0.90.0000.00816.91
8.0.80.0050.01216.90
8.0.70.0040.00416.89
8.0.60.0040.00416.92
8.0.50.0000.00816.91
8.0.30.0100.00817.09
8.0.20.0060.01317.08
8.0.10.0040.00416.95
8.0.00.0130.00916.73
7.4.330.0030.00315.55
7.4.320.0030.00316.40
7.4.300.0000.00616.51
7.4.290.0000.00816.40
7.4.280.0050.00216.59
7.4.270.0030.00316.36
7.4.260.0000.00716.47
7.4.250.0040.00416.46
7.4.240.0010.00716.54
7.4.230.0090.00016.47
7.4.220.0070.00016.48
7.4.210.0060.00816.56
7.4.200.0070.00016.61
7.4.130.0140.00416.54
7.4.120.0080.00816.52
7.4.110.0080.00816.53
7.4.100.0070.01016.64
7.4.90.0060.01116.45
7.4.80.0120.00419.39
7.4.70.0140.00816.54
7.4.60.0060.00916.52
7.4.50.0000.01516.38
7.4.40.0070.01016.43
7.4.10.0090.00914.89
7.4.00.0080.00814.89
7.3.330.0060.00013.16
7.3.320.0050.00013.26
7.3.310.0030.00316.46
7.3.300.0000.00816.37
7.3.290.0050.00916.31
7.3.280.0000.01716.34
7.3.260.0110.00916.45
7.3.240.0090.01016.39
7.3.230.0090.01016.38
7.3.210.0070.01116.39
7.3.200.0070.01616.39
7.3.190.0100.00716.23
7.3.180.0090.00616.40
7.3.170.0130.00716.29
7.3.160.0040.01116.36
7.3.130.0040.01414.93
7.3.120.0030.01414.80
7.3.110.0060.01214.39
7.3.100.0060.01215.05
7.3.90.0090.00914.64
7.3.80.0060.00615.11
7.3.70.0070.00514.73
7.3.60.0070.00614.66
7.3.50.0030.00814.76
7.3.40.0060.00914.57
7.3.30.0070.00414.62
7.3.20.0110.00515.69
7.3.10.0110.00715.74
7.3.00.0050.00715.77
7.2.330.0060.01016.65
7.2.320.0080.00816.75
7.2.310.0120.00616.63
7.2.300.0110.00616.46
7.2.290.0130.00316.66
7.2.260.0070.01014.94
7.2.250.0110.00415.38
7.2.240.0080.01115.16
7.2.230.0070.01015.29
7.2.220.0110.00315.36
7.2.210.0000.01515.08
7.2.200.0090.00615.15
7.2.190.0060.01014.96
7.2.180.0050.00814.91
7.2.170.0060.00515.00
7.2.160.0060.01015.11
7.2.150.0090.00716.12
7.2.140.0150.00316.03
7.2.130.0080.00716.13
7.2.120.0110.00816.24
7.2.110.0100.00816.14
7.2.100.0120.00516.10
7.2.90.0150.01116.04
7.2.80.0100.00816.04
7.2.70.0060.01116.03
7.2.60.0140.00616.16
7.2.50.0100.00816.08
7.2.40.0140.00316.08
7.2.30.0110.00716.07
7.2.20.0100.00416.06
7.2.10.0090.00915.94
7.2.00.0120.00815.86
7.1.330.0080.00415.91
7.1.320.0120.00315.93
7.1.310.0000.01615.70
7.1.300.0080.00814.77
7.1.290.0120.00614.75
7.1.280.0080.00514.88
7.1.270.0080.00614.80
7.1.260.0110.00614.94
7.1.250.0690.00114.76
7.1.240.0030.00515.61
7.1.230.0040.00415.94
7.1.220.0030.00615.88
7.1.210.0080.00415.59
7.1.200.0000.01116.01
7.1.190.0040.01115.77
7.1.180.0060.00915.84
7.1.170.0070.00315.96
7.1.160.0070.00315.98
7.1.150.0070.01015.57
7.1.140.0080.00415.67
7.1.130.0090.00615.82
7.1.120.0000.00816.02
7.1.110.0030.00515.75
7.1.100.0030.00615.88
7.1.90.0030.00915.66
7.1.80.0000.01215.75
7.1.70.0060.00315.45
7.1.60.0060.00615.72
7.1.50.0000.00915.95
7.1.40.0000.00915.63
7.1.30.0000.01215.79
7.1.20.0060.00616.01
7.1.10.0090.00315.84
7.1.00.0040.00815.59

preferences:
30.56 ms | 403 KiB | 5 Q