3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '~ ^ [^\pL\r\n]* (?=\p{Latin}) (*asr: .+ ) $ ~mux'; $str = ' # good alpha + beta = gamma LHOOQ 13.70€ Gruvrået .... oeuärē a aaà 2323442 üúôÆaaë # uglу <-- the "у" character is U+0443 CYRILLIC SMALL LETTER U (even if it\'s looks like the ASCII "y") delta Δ Дмитрий Дмитриевич Шостакович طاهر بن جلون'; preg_match_all($re, $str, $matches, PREG_SET_ORDER); // Print the entire match result print_r(array_merge(...$matches));

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.120.0130.00720.39
8.4.110.0100.01124.22
8.4.100.0140.00918.03
8.4.90.0130.00917.87
8.4.80.0130.00718.02
8.4.70.0060.00219.67
8.4.60.0120.01218.94
8.4.50.0100.00918.78
8.4.40.0070.01319.88
8.4.30.0160.00318.48
8.4.20.0070.01118.23
8.4.10.0090.00022.05
8.3.250.0130.00718.91
8.3.240.0080.00816.68
8.3.230.0110.00916.74
8.3.220.0130.00618.55
8.3.210.0100.00516.65
8.3.200.0040.00517.04
8.3.190.0080.01016.91
8.3.180.0060.00917.19
8.3.170.0120.00618.82
8.3.160.0030.01518.30
8.3.150.0050.00317.20
8.3.140.0120.00316.86
8.3.130.0000.00918.48
8.3.120.0050.00518.76
8.3.110.0030.01320.94
8.3.100.0100.01024.06
8.3.90.0140.00026.77
8.3.80.0120.00016.63
8.3.70.0210.00016.63
8.3.60.0100.01016.63
8.3.50.0110.00418.20
8.3.40.0110.00418.80
8.3.30.0130.00319.00
8.3.20.0080.00024.18
8.3.10.0060.00324.66
8.3.00.0000.00826.16
8.2.290.0110.00820.29
8.2.280.0090.00718.44
8.2.270.0110.00717.18
8.2.260.0040.00716.50
8.2.250.0120.00316.79
8.2.240.0100.00716.68
8.2.230.0050.00322.58
8.2.220.0070.00337.54
8.2.210.0040.00426.77
8.2.200.0100.00016.38
8.2.190.0090.00616.75
8.2.180.0160.00325.92
8.2.170.0070.00718.92
8.2.160.0110.00322.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00719.77
8.2.110.0090.00020.38
8.2.100.0100.00020.47
8.1.330.0040.00421.98
8.1.320.0110.00716.43
8.1.310.0080.00018.24
8.1.300.0120.00618.20
8.1.290.0050.00530.84
8.1.280.0130.00325.92
8.1.270.0040.00423.77
8.1.260.0100.00026.35
8.1.250.0050.00228.09
8.1.240.0000.00918.77
8.1.230.0090.00020.24
8.1.60.0270.00318.33
8.1.50.0130.00517.90

preferences:
28.28 ms | 403 KiB | 5 Q