3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_array = array("Sandra Loor,593984076233","Adrian,593998016010","Lucas,593999843424"); $to_remove = array("593984076233","593998016010"); $to_remove = "/" . implode("|", $to_remove) . "/"; $match = preg_grep($to_remove, $my_array); $filtered = array_diff($my_array, $match); var_dump($filtered);

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.4.140.0140.00817.93
8.4.130.0120.00818.95
8.4.120.0060.00324.03
8.4.110.0100.01019.14
8.4.100.0130.00917.75
8.4.90.0110.00820.63
8.4.80.0070.01419.06
8.4.70.0100.00918.96
8.4.60.0150.00622.36
8.4.50.0080.01118.78
8.4.40.0070.01419.60
8.4.30.0100.01017.88
8.4.20.0060.00920.31
8.4.10.0090.00018.05
8.3.270.0110.00816.66
8.3.260.0090.01016.67
8.3.250.0080.01018.88
8.3.240.0030.00517.28
8.3.230.0120.00616.77
8.3.220.0100.00818.91
8.3.210.0030.00416.75
8.3.200.0050.00316.85
8.3.190.0090.01017.13
8.3.180.0110.00818.87
8.3.170.0140.00317.21
8.3.160.0110.00618.64
8.3.150.0160.00317.11
8.3.140.0080.00017.07
8.3.130.0080.00016.72
8.3.120.0130.01018.68
8.3.110.0120.00317.52
8.3.100.0080.00621.10
8.3.90.0170.00321.54
8.3.80.0080.00916.66
8.3.70.0190.00516.52
8.3.60.0140.00718.36
8.3.50.0150.00417.58
8.3.40.0140.00418.10
8.3.30.0110.00618.04
8.3.20.0090.00419.60
8.3.10.0080.00520.51
8.3.00.0060.00420.56
8.2.290.0080.00217.17
8.2.280.0070.01120.49
8.2.270.0040.00716.63
8.2.260.0130.00617.13
8.2.250.0040.00417.20
8.2.240.0080.00616.70
8.2.230.0090.00619.55
8.2.220.0110.00427.10
8.2.210.0160.00421.46
8.2.200.0090.00617.53
8.2.190.0090.00816.81
8.2.180.0080.00921.20
8.2.170.0130.00720.30
8.2.160.0170.00218.34
8.2.150.0130.00520.71
8.2.140.0090.00521.07
8.2.130.0110.00322.72
8.2.120.0100.00418.72
8.2.110.0110.00419.22
8.2.100.0160.00217.61
8.2.90.0120.00217.90
8.2.80.0080.00717.79
8.2.70.0140.00017.68
8.2.60.0100.00317.63
8.2.50.0120.00317.75
8.2.40.0080.00518.72
8.2.30.0110.00317.75
8.2.20.0100.00617.72
8.2.10.0100.00419.00
8.2.00.0130.00218.47
8.1.330.0130.00516.28
8.1.320.0150.00716.04
8.1.310.0110.00716.75
8.1.300.0080.00620.10
8.1.290.0110.00317.37
8.1.280.0100.00920.98
8.1.270.0120.00118.13
8.1.260.0110.00421.76
8.1.250.0090.00522.62
8.1.240.0120.00219.87
8.1.230.0100.00519.11
8.1.220.0080.00517.56
8.1.210.0130.00018.23
8.1.200.0110.00317.20
8.1.190.0120.00217.29
8.1.180.0090.00517.63
8.1.170.0100.00417.98
8.1.160.0090.00418.02
8.1.150.0060.00819.11
8.1.140.0080.00519.64
8.1.130.0070.00718.61
8.1.120.0060.00717.42
8.1.110.0100.00417.38
8.1.100.0070.00517.36
8.1.90.0110.00317.44
8.1.80.0080.00417.47
8.1.70.0090.00417.41
8.1.60.0070.00617.57
8.1.50.0090.00618.37
8.1.40.0120.00417.45
8.1.30.0080.00617.58
8.1.20.0130.00218.53
8.1.10.0110.00317.55
8.1.00.0090.00517.27
8.0.300.0100.00218.15
8.0.290.0110.00216.68
8.0.280.0080.00517.49
8.0.270.0130.00016.97
8.0.260.0070.00517.53
8.0.250.0100.00216.87
8.0.240.0100.00116.82
8.0.230.0060.00616.93
8.0.220.0110.00116.68
8.0.210.0100.00316.80
8.0.200.0080.00516.83
8.0.190.0160.00016.91
8.0.180.0070.00516.70
8.0.170.0100.00316.77
8.0.160.0080.00516.81
8.0.150.0080.00516.77
8.0.140.0070.00616.83
8.0.130.0090.00315.03
8.0.120.0110.00216.88
8.0.110.0090.00416.87
8.0.100.0070.00616.73
8.0.90.0130.00016.78
8.0.80.0130.00516.91
8.0.70.0120.00116.88
8.0.60.0050.00816.74
8.0.50.0080.00416.81
8.0.30.0080.00816.87
8.0.20.0150.00717.01
8.0.10.0110.00216.98
8.0.00.0100.00716.86
7.4.330.0090.00316.60
7.4.320.0090.00216.46
7.4.300.0080.00316.57
7.4.290.0110.00216.47
7.4.280.0090.00516.54
7.4.270.0050.00716.59
7.4.260.0120.00017.39
7.4.250.0080.00416.54
7.4.240.0060.00616.39
7.4.230.0080.00416.40
7.4.220.0050.00716.56
7.4.210.0070.00816.55
7.4.200.0100.00316.43
7.4.190.0100.00716.35
7.4.180.0150.00318.15
7.4.160.0140.00516.58
7.4.150.0160.00016.49
7.4.140.0120.00617.57
7.4.130.0110.00616.21
7.4.120.0110.00617.31
7.4.110.0100.00716.54
7.4.100.0090.01116.39
7.4.90.0140.00316.42
7.4.80.0160.00217.90
7.4.70.0110.00616.49
7.4.60.0150.00316.43
7.4.50.0110.00516.38
7.4.40.0160.00716.45
7.4.30.0090.00916.45
7.4.20.0120.00516.22
7.4.10.0140.00316.28
7.4.00.0120.00315.60
7.3.330.0090.00214.62
7.3.320.0080.00314.63
7.3.310.0100.00116.07
7.3.300.0050.00716.94
7.3.290.0060.00616.07
7.3.280.0140.00316.30
7.3.270.0120.00516.14
7.3.260.0110.00716.35
7.3.250.0100.00516.11
7.3.240.0110.00816.33
7.3.230.0130.00316.15
7.3.220.0170.00016.00
7.3.210.0100.00816.15
7.3.200.0100.00716.12
7.3.190.0110.00916.12
7.3.180.0100.00716.10
7.3.170.0120.00516.18
7.3.160.0130.00716.00
7.3.150.0150.00215.75
7.3.140.0060.01215.89
7.3.130.0170.00015.82
7.3.120.0060.01016.03
7.3.110.0170.00017.56
7.3.100.0140.00215.64
7.3.90.0130.00316.38
7.3.80.0130.00316.14
7.3.70.0120.00416.26
7.3.60.0140.00716.00
7.3.50.0180.00017.96
7.3.40.0130.00416.07
7.3.30.0160.00016.11
7.3.20.0130.00318.08
7.3.10.0160.00017.98
7.3.00.0720.00516.30
7.2.340.0140.00316.23
7.2.330.0100.00816.55
7.2.320.0120.00517.32
7.2.310.0070.00916.43
7.2.300.0140.00416.66
7.2.290.0120.00817.26
7.2.280.0080.00816.42
7.2.270.0140.00316.34
7.2.260.0080.00816.29
7.2.250.0070.01118.18
7.2.240.0120.00416.10
7.2.230.0110.00718.18
7.2.220.0160.00316.19
7.2.210.0140.00316.02
7.2.200.0080.00816.05
7.2.190.0170.00015.97
7.2.180.0060.01216.16
7.2.170.0120.00416.41
7.2.160.0160.00015.94
7.2.150.0160.00018.27
7.2.140.0140.00218.04
7.2.130.0650.00616.61
7.2.120.0560.00716.69
7.2.110.0460.00616.53
7.2.100.0690.00516.55
7.2.90.0330.00916.59
7.2.80.0490.00916.60
7.2.70.0600.00816.73
7.2.60.0460.00816.71
7.2.50.0420.00216.63
7.2.40.0500.00716.76
7.2.30.0520.00516.78
7.2.20.0480.01016.78
7.2.10.0610.00616.78
7.2.00.0800.00416.81
7.1.330.0150.00016.96
7.1.320.0090.00517.23
7.1.310.0140.00316.93
7.1.300.0150.00017.09
7.1.290.0150.00017.14
7.1.280.0160.00016.79
7.1.270.0120.00316.94
7.1.260.0090.00617.15
7.1.250.0350.01015.36
7.1.240.0080.00816.93
7.1.230.0150.00217.21
7.1.220.0150.00616.90
7.1.210.0120.00617.12
7.1.200.0110.00416.77
7.1.190.0070.00716.88
7.1.180.0150.00016.97
7.1.170.0110.00417.09
7.1.160.0110.00417.17
7.1.150.0060.01017.24
7.1.140.0100.00516.81
7.1.130.0100.00517.04
7.1.120.0100.00517.32
7.1.110.0120.00817.05
7.1.100.0160.00017.32
7.1.90.0150.00017.07
7.1.80.0120.00416.92
7.1.70.0150.00016.76
7.1.60.0100.00516.94
7.1.50.0140.00017.09
7.1.40.0110.00416.95
7.1.30.0150.00017.09
7.1.20.0110.00416.88
7.1.10.0120.00416.78
7.1.00.0120.00316.99
7.0.330.0750.00515.38
7.0.320.0100.00516.88
7.0.310.0100.00316.71
7.0.300.0140.00016.55
7.0.290.0120.00316.82
7.0.280.0140.00016.70
7.0.270.0080.00816.66
7.0.260.0090.00616.79
7.0.250.0090.00616.96
7.0.240.0110.00416.75
7.0.230.0060.00916.74
7.0.220.0090.00616.75
7.0.210.0100.00516.93
7.0.200.0080.00616.89
7.0.190.0140.00017.05
7.0.180.0070.00717.02
7.0.170.0110.00516.99
7.0.160.0110.00716.46
7.0.150.0150.00016.60
7.0.140.0140.00016.59
7.0.130.0150.00016.79
7.0.120.0140.00016.93
7.0.110.0150.00016.52
7.0.100.0100.00516.74
7.0.90.0120.00316.56
7.0.80.0150.00016.88
7.0.70.0080.00816.67
7.0.60.0140.00316.57
7.0.50.0140.00316.46
7.0.40.0170.00016.85
7.0.30.0100.00716.88
7.0.20.0110.00416.40
7.0.10.0100.00516.82
7.0.00.0130.00016.75
5.6.400.0090.00515.55
5.6.390.0120.00315.50
5.6.380.0110.00514.79
5.6.370.0080.00815.70
5.6.360.0080.00815.38
5.6.350.0140.00315.57
5.6.340.0130.00315.78
5.6.330.0160.00015.35
5.6.320.0130.00315.61
5.6.310.0110.00415.74
5.6.300.0120.00315.48
5.6.290.0100.00515.28
5.6.280.0120.00315.59
5.6.270.0130.00315.33
5.6.260.0170.00015.58
5.6.250.0140.00215.40
5.6.240.0120.00615.48
5.6.230.0150.00015.62
5.6.220.0130.00315.62
5.6.210.0110.00415.77
5.6.200.0110.00515.82
5.6.190.0120.00315.67
5.6.180.0160.00015.82
5.6.170.0120.00316.08
5.6.160.0150.00015.96
5.6.150.0100.00515.54
5.6.140.0120.00315.43
5.6.130.0100.00515.87
5.6.120.0120.00415.84
5.6.110.0090.00615.79
5.6.100.0090.00615.88
5.6.90.0110.00415.66
5.6.80.0000.01515.34
5.6.70.0110.00615.46
5.6.60.0090.00515.61
5.6.50.0090.00515.39
5.6.40.0150.00015.68
5.6.30.0110.00415.70
5.6.20.0070.00715.38
5.6.10.0120.00315.77
5.6.00.0140.00015.43

preferences:
154.07 ms | 403 KiB | 5 Q