3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = <<<TEXT Павел как дела Дуов TEXT; $filter = 'Павел Дуров'; $filter = mb_strtolower($filter); $parts = explode(' ', $filter); $parts = array_map('trim', $parts); $parts = array_map('preg_quote', $parts); $filter = implode('.+', $parts); echo preg_match("~{$filter}~uis", $text);

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.0060.00916.75
8.3.60.0120.00616.60
8.3.50.0110.01016.62
8.3.40.0070.00718.96
8.3.30.0070.00718.96
8.3.20.0080.00020.16
8.3.10.0040.00423.61
8.3.00.0080.00022.09
8.2.180.0070.01016.88
8.2.170.0120.00322.96
8.2.160.0090.00619.16
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0040.00421.17
8.2.120.0000.00826.35
8.2.110.0100.00022.37
8.2.100.0070.00717.84
8.2.90.0040.00419.36
8.2.80.0030.00617.97
8.2.70.0100.00017.74
8.2.60.0000.00818.16
8.2.50.0050.00318.10
8.2.40.0050.00320.41
8.2.30.0080.00020.98
8.2.20.0070.00018.20
8.2.10.0000.00718.23
8.2.00.0040.00418.09
8.1.280.0110.00725.92
8.1.270.0140.00021.83
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00417.66
8.1.230.0070.00419.02
8.1.220.0030.00617.89
8.1.210.0050.00318.77
8.1.200.0030.00617.48
8.1.190.0000.00817.47
8.1.180.0040.00418.10
8.1.170.0030.00518.93
8.1.160.0040.00419.10
8.1.150.0040.00420.70
8.1.140.0040.00419.68
8.1.130.0040.00419.04
8.1.120.0040.00417.57
8.1.110.0070.00017.65
8.1.100.0050.00317.66
8.1.90.0070.00017.66
8.1.80.0000.00717.52
8.1.70.0050.00317.51
8.1.60.0040.00417.80
8.1.50.0000.00817.58
8.1.40.0030.00617.59
8.1.30.0000.00817.79
8.1.20.0060.00317.81
8.1.10.0000.00817.77
8.1.00.0040.00417.64
8.0.300.0040.00418.91
8.0.290.0040.00417.00
8.0.280.0040.00418.54
8.0.270.0030.00317.36
8.0.260.0000.00717.17
8.0.250.0040.00417.36
8.0.240.0040.00417.33
8.0.230.0030.00517.19
8.0.220.0000.00717.27
8.0.210.0070.00017.34
8.0.200.0060.00017.39
8.0.190.0030.00517.36
8.0.180.0000.01117.25
8.0.170.0040.00417.39
8.0.160.0000.00717.30
8.0.150.0040.00417.02
8.0.140.0080.00017.11
8.0.130.0030.00613.60
8.0.120.0000.00817.13
8.0.110.0080.00017.29
8.0.100.0040.00417.20
8.0.90.0040.00417.20
8.0.80.0060.01317.29
8.0.70.0000.00817.11
8.0.60.0050.00217.34
8.0.50.0040.00417.17
8.0.30.0100.00717.26
8.0.20.0120.00717.42
8.0.10.0060.00317.23
8.0.00.0110.01117.03
7.4.330.0030.00315.55
7.4.320.0060.00016.88
7.4.300.0060.00016.76
7.4.290.0050.00316.70
7.4.280.0040.00416.91
7.4.270.0030.00316.69
7.4.260.0070.00016.80
7.4.250.0030.00316.71
7.4.240.0080.00016.91
7.4.230.0070.00016.89
7.4.220.0070.01116.85
7.4.210.0100.00816.75
7.4.200.0070.00016.89
7.4.160.0120.00716.68
7.4.150.0080.01117.40
7.4.140.0110.01017.86
7.4.130.0090.00916.79
7.4.120.0070.01316.77
7.4.110.0100.00716.83
7.4.100.0080.01016.93
7.4.90.0030.01616.93
7.4.80.0030.01919.39
7.4.70.0040.01116.61
7.4.60.0130.00316.82
7.4.50.0090.00616.70
7.4.40.0060.01016.78
7.4.30.0070.01016.67
7.4.00.0070.01115.11
7.3.330.0050.00013.46
7.3.320.0030.00313.51
7.3.310.0030.00316.66
7.3.300.0030.00316.56
7.3.290.0080.00016.61
7.3.280.0080.01016.61
7.3.270.0090.00817.40
7.3.260.0090.01116.76
7.3.250.0130.00616.59
7.3.240.0120.00716.51
7.3.230.0110.00816.49
7.3.210.0100.00716.87
7.3.200.0060.01016.72
7.3.190.0060.01016.71
7.3.180.0060.00916.55
7.3.170.0030.01316.61
7.3.160.0100.00716.52
7.2.330.0070.01116.74
7.2.320.0110.00616.82
7.2.310.0030.01416.76
7.2.300.0150.00316.79
7.2.290.0070.01016.65
7.2.80.0040.01216.62
7.2.60.0100.00316.91
7.2.00.0030.01219.31
7.1.200.0030.00616.14
7.1.100.0080.00318.36
7.1.70.0030.00617.23
7.1.60.0030.00717.25
7.1.50.0040.00817.24
7.1.40.0040.01816.84
7.1.30.0000.01016.90
7.1.20.0040.00716.87
7.1.10.0000.00816.87
7.1.00.0080.00016.92
7.0.200.0040.00417.01
7.0.190.0080.00016.96
7.0.180.0060.00616.66
7.0.170.0030.00916.66
7.0.160.0080.00316.66
7.0.150.0040.00816.66
7.0.140.0030.01016.66
7.0.130.0030.00916.68
7.0.120.0040.00416.66
7.0.110.0080.00016.66
7.0.100.0030.00516.66
7.0.90.0000.00816.66
7.0.80.0060.00616.66
7.0.70.0030.01216.66
7.0.60.0100.00016.66
7.0.50.0000.01416.66
7.0.40.0030.00516.66
7.0.30.0120.00316.66
7.0.20.0040.00416.66
7.0.10.0000.00716.66
7.0.00.0030.00616.66

preferences:
38.57 ms | 401 KiB | 5 Q