3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ( 0 => array ( 'email' => array ( 0 => 'test@domain.de', ), 'customerID' => '13', ), 1 => array ( 'email' => array ( 0 => 'mail@domain.de', 1 => 'yourmail@domain.de', ), 'customerID' => '48', ), ); print_r(array_filter($array, fn($x) => array_search('test@domain.de', $x['email']) !== false));

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.10.0100.00716.73
8.5.00.0140.01020.22
8.4.150.0020.00014.05
8.4.140.0140.00717.35
8.4.130.0080.01217.77
8.4.120.0120.00820.44
8.4.110.0090.01122.45
8.4.100.0130.00617.65
8.4.90.0060.00417.59
8.4.80.0130.00717.76
8.4.70.0120.00917.77
8.4.60.0130.00919.13
8.4.50.0050.00420.42
8.4.40.0000.00917.50
8.4.30.0030.01320.48
8.4.20.0100.01017.76
8.4.10.0060.00319.67
8.3.280.0130.00718.56
8.3.270.0110.00716.50
8.3.260.0120.00716.41
8.3.250.0090.01018.94
8.3.240.0040.00416.52
8.3.230.0100.01016.48
8.3.220.0110.00516.67
8.3.210.0110.00716.48
8.3.200.0040.00516.41
8.3.190.0120.00719.20
8.3.180.0050.00417.12
8.3.170.0120.00617.23
8.3.160.0140.00318.15
8.3.150.0090.00920.79
8.3.140.0060.00316.38
8.3.130.0050.00316.55
8.3.120.0030.00618.86
8.3.110.0060.01220.94
8.3.100.0140.00724.06
8.3.90.0030.00726.77
8.3.80.0090.00016.38
8.3.70.0140.00616.63
8.3.60.0040.01118.41
8.3.50.0110.00418.16
8.3.40.0060.00918.79
8.3.30.0110.00418.77
8.3.20.0030.00524.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.290.0040.00720.48
8.2.280.0030.00518.64
8.2.270.0120.00617.08
8.2.260.0080.00018.53
8.2.250.0000.00816.51
8.2.240.0080.00018.96
8.2.230.0030.00622.58
8.2.220.0040.00437.54
8.2.210.0070.01126.77
8.2.200.0050.00316.38
8.2.190.0140.00716.58
8.2.180.0090.00925.92
8.2.170.0140.00418.96
8.2.160.0070.01422.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0080.00026.16
8.2.110.0100.00021.11
8.2.100.0090.00317.90
8.2.90.0070.00018.22
8.2.80.0000.00918.34
8.2.70.0000.00817.50
8.2.60.0000.00917.50
8.2.50.0000.00917.63
8.2.40.0000.00819.95
8.2.30.0040.00417.63
8.2.20.0000.00820.70
8.2.10.0050.00317.71
8.2.00.0070.00419.21
8.1.330.0100.00916.37
8.1.320.0080.01016.11
8.1.310.0070.01016.90
8.1.300.0120.00617.90
8.1.290.0090.00018.88
8.1.280.0090.00625.92
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00622.13
8.1.230.0030.00721.04
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0030.00517.35
8.1.190.0040.00417.48
8.1.180.0060.00318.10
8.1.170.0000.00818.59
8.1.160.0070.00018.83
8.1.150.0070.00018.57
8.1.140.0000.00817.45
8.1.130.0000.00718.90
8.1.120.0000.00817.48
8.1.110.0040.00417.34
8.1.100.0080.00017.35
8.1.90.0050.00317.35
8.1.80.0070.00317.48
8.1.70.0040.00417.36
8.1.60.0000.00817.61
8.1.50.0080.00017.58
8.1.40.0060.00617.58
8.1.30.0080.00017.48
8.1.20.0040.00417.70
8.1.10.0000.00717.41
8.1.00.0000.00917.47
8.0.300.0070.00019.91
8.0.290.0040.00416.63
8.0.280.0000.00818.44
8.0.270.0000.00716.70
8.0.260.0030.00318.39
8.0.250.0040.00416.79
8.0.240.0070.00016.88
8.0.230.0000.00716.89
8.0.220.0030.00516.83
8.0.210.0040.00416.82
8.0.200.0000.00716.84
8.0.190.0000.00816.88
8.0.180.0070.00016.81
8.0.170.0060.00316.79
8.0.160.0000.00816.84
8.0.150.0040.00416.93
8.0.140.0060.00316.74
8.0.130.0100.01016.66
8.0.120.0100.00216.77
8.0.110.0060.00616.80
8.0.100.0060.00616.92
8.0.90.0060.00616.75
8.0.80.0110.00016.85
8.0.70.0060.00616.78
8.0.60.0090.00616.75
8.0.50.0180.00416.84
8.0.30.0210.00016.89
8.0.20.0140.00616.89
8.0.10.0120.00617.01
8.0.00.0070.00517.05
7.4.330.0050.00015.55
7.4.320.0070.00016.60
7.4.300.0030.00316.47
7.4.290.0060.00316.45
7.4.280.0050.00316.50
7.4.270.0040.00316.59
7.4.260.0180.00416.64
7.4.250.0150.00816.48
7.4.240.0250.00016.59
7.4.230.0240.00016.42
7.4.220.0180.00316.41
7.4.210.0140.00716.52
7.4.200.0170.00316.50
7.4.190.0080.01216.66
7.4.180.0180.00416.45
7.4.160.0180.00016.54
7.4.150.0220.00016.54
7.4.140.0140.00616.34
7.4.130.0150.00616.38
7.4.120.0210.00016.45
7.4.110.0150.00616.39
7.4.100.0160.00316.41
7.4.90.0110.01116.54
7.4.80.0180.00316.40
7.4.70.0170.00416.46
7.4.60.0200.00016.22
7.4.50.0170.00416.29
7.4.40.0180.00316.32
7.4.30.0170.00316.43
7.4.20.0170.00316.44
7.4.10.0140.00516.37
7.4.00.0130.00316.36
7.3.330.0090.00416.05
7.3.320.0130.00316.17
7.3.310.0140.00315.95
7.3.300.0170.00015.97
7.3.290.0090.00515.98
7.3.280.0130.00516.01
7.3.270.0180.00616.13
7.3.260.0170.00416.00
7.3.250.0170.00616.10
7.3.240.0190.00015.99
7.3.230.0220.00316.23
7.3.220.0210.00015.90
7.3.210.0130.00716.01
7.3.200.0070.01116.05
7.3.190.0130.00816.09
7.3.180.0200.00216.02
7.3.170.0170.00416.14
7.3.160.0210.00016.02
7.3.150.0190.00016.03
7.3.140.0170.00316.13
7.3.130.0160.00415.91

preferences:
38.21 ms | 403 KiB | 5 Q