3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = Array ( 0 => Array ( 0 => 'John', 1 => 'accountant', 2 => 'senior', 3 => 'joined on 2018-03-12', 4 => 'http://personalblogdotcom/abc', 5 => 'Germany' ), 1 => Array ( 0 => 'Marry', 1 => 'journalist', 2 => 'junior', 3 => '2019-04-13', 4 => 'http://personalblogdotcom/efd', 5 => 'Canada' ), 2 => Array ( 0 => 'Jim', 1 => 'salesman', 2 => 'junior', 3 => '2017-01-18', 4 => 'http://personalblogdotcom/ehs', 5 => 'US' ), 3 => Array ( 0 => 'Clair', 1 => 'director assistant', 2 => 'senior', 3 => '2019-08-22', 4 => 'http://personalblogdotcom/khh', 5 => 'Singapore' ) ); $rows = array(array('name'=>'Jim'),array('name'=>'Clair')); $userNamesArray = array_column($arr,0); $rowsName = array_column($rows,'name'); foreach($userNamesArray as $userNamesArr){ if(!in_array($userNamesArr, $rowsName)){ echo $userNamesArr."<br>"; } }

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.70.0070.01418.30
8.3.60.0040.01116.50
8.3.50.0090.00618.08
8.3.40.0120.00919.22
8.3.30.0120.00418.54
8.3.20.0070.00024.18
8.3.10.0080.00024.66
8.3.00.0030.00626.16
8.2.190.0090.00618.16
8.2.180.0180.00725.92
8.2.170.0100.00322.96
8.2.160.0070.00722.96
8.2.150.0020.00525.66
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00426.35
8.2.110.0040.00422.20
8.2.100.0060.00617.72
8.2.90.0060.00317.84
8.2.80.0030.00619.17
8.2.70.0040.00417.63
8.2.60.0000.00917.80
8.2.50.0100.00318.05
8.2.40.0000.00819.88
8.2.30.0040.00417.94
8.2.20.0050.00518.05
8.2.10.0000.00821.14
8.2.00.0040.00419.29
8.1.280.0090.00625.92
8.1.270.0040.00423.99
8.1.260.0040.00428.09
8.1.250.0050.00228.09
8.1.240.0100.00022.15
8.1.230.0080.00320.97
8.1.220.0030.00617.77
8.1.210.0000.00818.77
8.1.200.0040.00717.23
8.1.190.0000.00817.22
8.1.180.0050.00318.10
8.1.170.0040.00418.86
8.1.160.0000.00818.94
8.1.150.0040.00418.85
8.1.140.0040.00418.79
8.1.130.0000.00820.13
8.1.120.0040.00417.45
8.1.110.0000.00817.43
8.1.100.0000.00817.37
8.1.90.0060.00317.46
8.1.80.0000.00717.48
8.1.70.0040.00417.37
8.1.60.0040.00417.43
8.1.50.0000.00817.43
8.1.40.0070.00317.52
8.1.30.0070.00017.61
8.1.20.0030.00517.68
8.1.10.0040.00417.46
8.1.00.0040.00417.45
8.0.300.0030.00320.08
8.0.290.0050.00216.75
8.0.280.0000.00718.38
8.0.270.0070.00017.88
8.0.260.0000.00720.26
8.0.250.0000.00716.89
8.0.240.0000.00716.95
8.0.230.0040.00416.89
8.0.220.0030.00316.90
8.0.210.0000.00716.85
8.0.200.0030.00316.84
8.0.190.0000.00916.84
8.0.180.0040.00416.93
8.0.170.0060.00316.86
8.0.160.0080.00016.85
8.0.150.0000.00716.90
8.0.140.0050.00316.73
8.0.130.0030.00313.40
8.0.120.0040.00416.73
8.0.110.0030.00516.84
8.0.100.0040.00416.88
8.0.90.0030.00616.79
8.0.80.0110.00516.84
8.0.70.0040.00416.67
8.0.60.0040.00417.00
8.0.50.0000.00716.77
8.0.30.0060.01217.14
8.0.20.0130.01016.94
8.0.10.0000.00716.98
8.0.00.0150.00416.80
7.4.330.0020.00215.55
7.4.320.0000.00716.52
7.4.300.0000.00616.61
7.4.290.0070.00016.51
7.4.280.0040.00816.60
7.4.270.0000.00616.41
7.4.260.0030.00213.27
7.4.250.0000.00716.52
7.4.240.0020.00616.59
7.4.230.0040.00416.50
7.4.220.0030.00316.54
7.4.210.0060.00916.57
7.4.200.0030.00316.35
7.4.130.0100.00716.50
7.4.120.0160.01016.54
7.4.110.0150.00916.43
7.4.100.0120.00416.49
7.4.90.0100.01316.34
7.4.80.0180.00319.39
7.4.70.0120.00616.53
7.4.60.0140.00616.29
7.4.50.0060.01116.13
7.4.40.0060.01016.29
7.4.30.0060.00916.48
7.4.20.0070.01016.34
7.4.10.0110.00616.31
7.4.00.0070.01016.42
7.3.330.0070.00016.19
7.3.320.0000.00613.06
7.3.310.0000.00716.32
7.3.300.0030.00316.32
7.3.290.0090.00616.28
7.3.260.0070.01016.57
7.3.240.0110.00816.56
7.3.230.0100.00716.60
7.3.210.0030.01316.60
7.3.200.0170.00016.31
7.3.190.0060.01116.45
7.3.180.0100.01016.54
7.3.170.0080.00816.47
7.3.160.0060.01116.54
7.3.150.0100.00616.33
7.3.140.0130.00616.43
7.3.130.0170.00016.23
7.3.120.0120.00616.18
7.3.110.0040.01216.54
7.3.100.0100.01016.18
7.3.90.0140.00916.15
7.3.80.0130.00516.32
7.3.70.0000.01716.36
7.3.60.0080.00816.31
7.3.50.0150.00316.30
7.3.40.0070.01416.18
7.3.30.0110.01116.39
7.3.20.0090.00916.32
7.3.10.0110.00716.45
7.3.00.0090.00916.14
7.2.330.0040.01316.64
7.2.320.0110.01016.67
7.2.310.0100.00716.53
7.2.300.0120.00616.70
7.2.290.0100.01316.71
7.2.280.0090.00816.29
7.2.270.0080.00816.65
7.2.260.0140.00416.63
7.2.250.0060.01016.31
7.2.240.0080.01216.46
7.2.230.0100.00716.50
7.2.220.0130.00616.59
7.2.210.0150.00316.44
7.2.200.0130.00316.46
7.2.190.0000.02316.36
7.2.180.0090.00916.47
7.2.170.0170.00616.56
7.2.160.0060.01116.54
7.2.150.0100.01016.47
7.2.140.0170.00616.75
7.2.130.0110.00716.55
7.2.120.0120.00616.48
7.2.110.0090.00916.56
7.2.100.0090.00916.44
7.2.90.0030.01316.63
7.2.80.0040.01216.40
7.2.70.0110.00616.31
7.2.60.0130.00416.43
7.2.50.0050.01316.36
7.2.40.0120.01216.43
7.2.30.0150.00916.59
7.2.20.0170.00716.54
7.2.10.0180.00016.56
7.2.00.0140.00416.58

preferences:
69.7 ms | 401 KiB | 5 Q