3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_match('/^([\pL\pN\pS-]+\.)[\pL]+$/', utf8_decode('exämple.org')); echo ' but '; echo preg_match('/^([\pL\pN\pS-]+\.)[\pL]+$/', utf8_decode('exömple.org'));

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.0030.01216.75
8.3.60.0150.00017.00
8.3.50.0130.00621.29
8.3.40.0000.01518.87
8.3.30.0090.00618.78
8.3.20.0080.00620.16
8.3.10.0040.00423.53
8.3.00.0030.00520.77
8.2.190.0080.00816.75
8.2.180.0130.01018.66
8.2.170.0060.00922.96
8.2.160.0000.01320.44
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0090.00626.16
8.2.120.0080.00020.84
8.2.110.0110.00022.25
8.2.100.0080.00417.93
8.2.90.0000.00819.28
8.2.80.0000.00817.97
8.2.70.0090.00017.72
8.2.60.0000.00817.80
8.2.50.0080.00018.07
8.2.40.0060.00322.46
8.2.30.0040.00420.69
8.2.20.0040.00417.89
8.2.10.0000.00717.95
8.2.00.0000.00718.01
8.1.280.0120.00325.92
8.1.270.0070.00722.02
8.1.260.0030.00726.35
8.1.250.0100.00328.09
8.1.240.0060.00322.36
8.1.230.0070.00419.20
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0060.00317.34
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0030.00718.71
8.1.160.0040.00420.68
8.1.150.0040.00418.77
8.1.140.0050.00319.54
8.1.130.0040.00417.57
8.1.120.0040.00417.53
8.1.110.0040.00417.52
8.1.100.0050.00317.43
8.1.90.0040.00417.37
8.1.80.0000.00717.48
8.1.70.0040.00417.46
8.1.60.0050.00317.59
8.1.50.0000.00817.53
8.1.40.0000.00917.58
8.1.30.0060.00317.66
8.1.20.0030.00617.59
8.1.10.0060.00317.45
8.1.00.0030.00517.42
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.40
8.0.270.0040.00417.21
8.0.260.0030.00317.14
8.0.250.0030.00317.02
8.0.240.0060.00317.04
8.0.230.0050.00217.02
8.0.220.0040.00416.88
8.0.210.0050.00317.01
8.0.200.0000.00716.88
8.0.190.0040.00416.84
8.0.180.0000.00716.93
8.0.170.0040.00416.94
8.0.160.0000.00716.95
8.0.150.0030.00316.93
8.0.140.0040.00416.86
8.0.130.0000.00513.38
8.0.120.0000.00816.86
8.0.110.0040.00416.91
8.0.100.0000.00716.93
8.0.90.0000.00716.82
8.0.80.0040.01116.92
8.0.70.0000.00816.83
8.0.60.0000.00717.02
8.0.50.0000.00716.96
8.0.30.0120.00817.17
8.0.20.0110.01017.40
8.0.10.0040.00416.96
8.0.00.0070.01016.89
7.4.330.0000.00516.78
7.4.320.0000.00816.60
7.4.300.0000.00716.80
7.4.290.0090.00016.75
7.4.280.0040.00416.78
7.4.270.0000.00716.74
7.4.260.0100.00016.72
7.4.250.0050.00316.61
7.4.240.0030.00416.70
7.4.230.0040.00416.77
7.4.220.0110.00716.68
7.4.210.0070.01416.69
7.4.200.0040.00416.64
7.4.160.0090.00916.55
7.4.150.0140.00417.40
7.4.140.0100.01317.86
7.4.130.0090.01216.63
7.4.120.0130.00716.65
7.4.110.0090.01216.64
7.4.100.0040.01316.75
7.4.90.0110.01116.38
7.4.80.0070.01019.39
7.4.70.0130.00616.55
7.4.60.0100.00716.42
7.4.50.0070.01016.55
7.4.40.0120.00616.70
7.4.30.0120.00616.59
7.4.00.0030.01414.86
7.3.330.0030.00313.04
7.3.320.0000.00513.17
7.3.310.0030.00316.34
7.3.300.0070.00016.27
7.3.290.0090.00716.25
7.3.280.0110.00416.27
7.3.270.0130.00317.40
7.3.260.0090.00916.62
7.3.250.0090.00816.42
7.3.240.0110.00816.41
7.3.230.0090.01516.43
7.3.210.0130.00416.55
7.3.200.0060.01216.43
7.3.190.0060.01016.57
7.3.180.0100.00716.36
7.3.170.0100.00716.56
7.3.160.0030.01616.27
7.2.330.0140.00316.72
7.2.320.0090.01216.75
7.2.310.0070.01016.73
7.2.300.0100.00716.54
7.2.290.0070.01016.64
7.2.00.0000.01119.65
7.1.200.0090.00015.87
7.1.100.0000.01218.07
7.1.70.0060.00317.20
7.1.60.0040.02119.52
7.1.50.0120.01217.05
7.1.00.0030.07722.56
7.0.200.0000.01116.55
7.0.60.0070.04019.99
7.0.50.0030.08317.91
7.0.40.0070.06320.01
7.0.30.0400.05320.11
7.0.20.0400.04720.06
7.0.10.0030.09020.04
7.0.00.0100.08320.18
5.6.280.0000.06320.81
5.6.210.0100.08020.68
5.6.200.0070.08318.12
5.6.190.0070.07720.49
5.6.180.0170.04320.39
5.6.170.0230.08020.38
5.6.160.0130.07320.62
5.6.150.0070.08018.22
5.6.140.0100.06318.21
5.6.130.0030.07718.07
5.6.120.0070.04721.14
5.6.110.0030.04021.12
5.6.100.0200.06021.12
5.6.90.0130.06320.96
5.6.80.0130.07720.50
5.5.350.3400.04320.35
5.5.340.0130.06318.04
5.5.330.0070.06020.37
5.5.320.0230.08720.25
5.5.310.0330.07020.27
5.5.300.0000.04017.88
5.5.290.0070.03717.89
5.5.280.0100.05020.76
5.5.270.0170.04720.86
5.5.260.0130.07320.75
5.5.250.0100.03320.61
5.5.240.0230.06320.14

preferences:
18.53 ms | 401 KiB | 5 Q