3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'fuck-docomo.@gmail.com'; echo (preg_match('/^[a-zA-Z0-9.!#$%&’*+\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$/', $email)) ? 'match' : 'mismatch';

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.0070.01018.55
8.3.60.0070.00718.43
8.3.50.0100.00821.99
8.3.40.0040.01118.74
8.3.30.0070.00719.01
8.3.20.0070.00020.15
8.3.10.0060.00322.00
8.3.00.0070.00322.43
8.2.180.0160.00016.38
8.2.170.0120.00322.96
8.2.160.0030.01020.57
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0110.00017.75
8.2.110.0030.00622.33
8.2.100.0040.00719.75
8.2.90.0040.00419.04
8.2.80.0000.00917.97
8.2.70.0050.00317.75
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0000.00818.16
8.2.30.0050.00217.95
8.2.20.0040.00417.75
8.2.10.0040.00719.41
8.2.00.0040.00417.75
8.1.280.0160.00325.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00423.87
8.1.230.0070.00419.02
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0000.00917.25
8.1.190.0050.00317.27
8.1.180.0030.00618.10
8.1.170.0040.00418.67
8.1.160.0040.00421.97
8.1.150.0030.00518.70
8.1.140.0000.00717.53
8.1.130.0000.00817.85
8.1.120.0080.00017.50
8.1.110.0040.00417.55
8.1.100.0040.00417.52
8.1.90.0000.00717.41
8.1.80.0000.00717.53
8.1.70.0030.00317.56
8.1.60.0040.00417.70
8.1.50.0000.00717.64
8.1.40.0040.00417.47
8.1.30.0040.00417.71
8.1.20.0040.00417.74
8.1.10.0070.00017.64
8.1.00.0080.00017.54
8.0.300.0070.00018.77
8.0.290.0070.00017.05
8.0.280.0070.00018.44
8.0.270.0050.00217.20
8.0.260.0080.00016.94
8.0.250.0000.00817.06
8.0.240.0040.00717.00
8.0.230.0000.00716.89
8.0.220.0030.00316.86
8.0.210.0030.00316.95
8.0.200.0080.00017.07
8.0.190.0040.00417.03
8.0.180.0040.00416.96
8.0.170.0040.00416.90
8.0.160.0000.00816.90
8.0.150.0000.00916.93
8.0.140.0040.00416.92
8.0.130.0030.00613.35
8.0.120.0040.00416.86
8.0.110.0050.00216.99
8.0.100.0030.00316.86
8.0.90.0000.00716.84
8.0.80.0100.00716.99
8.0.70.0000.00716.81
8.0.60.0040.00416.79
8.0.50.0000.00816.81
8.0.30.0100.00817.14
8.0.20.0110.01117.40
8.0.10.0040.00417.08
8.0.00.0120.01016.89
7.4.330.0000.00615.00
7.4.320.0000.00616.64
7.4.300.0060.00016.73
7.4.290.0070.00016.76
7.4.280.0040.00416.54
7.4.270.0000.00716.67
7.4.260.0030.00616.67
7.4.250.0070.00016.75
7.4.240.0040.00416.75
7.4.230.0030.00316.48
7.4.220.0090.00916.58
7.4.210.0120.00516.77
7.4.200.0050.00216.80
7.4.190.0030.00516.91
7.4.160.0000.01516.66
7.4.150.0170.00717.40
7.4.140.0100.00917.86
7.4.130.0110.00816.53
7.4.120.0120.00616.63
7.4.110.0070.01016.61
7.4.100.0040.01516.57
7.4.90.0160.00316.38
7.4.80.0130.00419.39
7.4.70.0120.00416.82
7.4.60.0100.00716.66
7.4.50.0050.00016.66
7.4.40.0070.01022.77
7.4.30.0090.00616.61
7.4.00.0100.00315.02
7.3.330.0000.00613.15
7.3.320.0000.00513.12
7.3.310.0070.00016.37
7.3.300.0000.00716.13
7.3.290.0100.00316.25
7.3.280.0080.01016.31
7.3.270.0140.00317.40
7.3.260.0060.01116.26
7.3.250.0100.00916.35
7.3.240.0060.00916.27
7.3.230.0070.01016.59
7.3.210.0070.01016.28
7.3.200.0070.01019.39
7.3.190.0110.00616.51
7.3.180.0090.00616.63
7.3.170.0130.00316.31
7.3.160.0090.00616.61
7.3.120.0090.00614.77
7.3.110.0060.00615.12
7.3.100.0100.00714.47
7.3.90.0070.01014.86
7.3.80.0060.00914.83
7.3.70.0080.00814.52
7.3.60.0100.00314.94
7.3.50.0070.00414.93
7.3.40.0000.01214.84
7.3.30.0080.00814.68
7.3.20.0070.00716.45
7.3.10.0070.00316.66
7.3.00.0040.01116.68
7.2.330.0110.00616.65
7.2.320.0160.00816.82
7.2.310.0140.00316.48
7.2.300.0060.01016.61
7.2.290.0150.00616.74
7.2.240.0070.01014.99
7.2.230.0100.00715.11
7.2.220.0000.01414.88
7.2.210.0120.00315.13
7.2.200.0030.01315.04
7.2.190.0090.00615.16
7.2.180.0110.00715.04
7.2.170.0030.00615.06
7.2.160.0070.00314.75
7.2.150.0000.01516.85
7.2.140.0110.00416.66
7.2.130.0090.00616.93
7.2.120.0060.00616.89
7.2.110.0030.01416.80
7.2.100.0080.00416.75
7.2.90.0000.01416.91
7.2.80.0030.01316.88
7.2.70.0030.01316.93
7.2.60.0020.01216.86
7.2.50.0150.00016.74
7.2.40.0060.00916.96
7.2.30.0000.01316.93
7.2.20.0080.00617.00
7.2.10.0030.01316.85
7.2.00.0080.00618.28
7.1.330.0030.01416.05
7.1.320.0030.01015.94
7.1.310.0070.00716.07
7.1.300.0110.00415.82
7.1.290.0030.01115.92
7.1.280.0040.00815.75
7.1.270.0070.00715.77
7.1.260.0030.01015.82
7.1.250.0030.01015.89
7.1.200.0000.00815.66
7.1.100.0000.01218.45
7.1.70.0000.01417.29
7.1.60.0100.01419.82
7.1.50.0110.01417.00
7.1.00.0030.07722.31
7.0.200.0070.00716.84
7.0.140.0030.07322.10
7.0.100.0030.07719.94
7.0.90.0030.04719.97
7.0.80.0070.04319.90
7.0.70.0030.08319.90
7.0.60.0170.07719.96
7.0.50.0130.06320.34
7.0.40.0100.07320.07
7.0.30.0130.07320.09
7.0.20.0100.07320.05
7.0.10.0100.07720.02
7.0.00.0170.07020.13
5.6.280.0000.07720.90
5.6.250.0130.07020.59
5.6.240.0100.07020.63
5.6.230.0130.05320.74
5.6.220.0030.07020.60
5.6.210.0030.07720.63
5.6.200.0100.06721.10
5.6.190.0030.04320.95
5.6.180.0100.07721.00
5.6.170.0130.08021.11
5.6.160.0200.06721.01
5.6.150.0100.07720.95
5.6.140.0170.07021.09
5.6.130.0170.09721.07
5.6.120.0030.08720.94
5.6.110.0070.08721.12
5.6.100.0070.08020.93
5.6.90.0100.08021.02
5.6.80.0070.04320.55
5.6.70.0000.08320.48
5.6.60.0130.07320.45
5.6.50.0000.08020.42
5.6.40.0070.07020.27
5.6.30.0000.06020.46
5.6.20.0100.06020.38
5.6.10.0070.07320.26
5.6.00.0100.07720.50
5.5.380.0100.08320.39
5.5.370.0070.06320.34
5.5.360.0130.06720.42
5.5.350.0130.06720.39
5.5.340.0030.04320.75
5.5.330.0200.06720.77
5.5.320.0070.07320.87
5.5.310.0100.07320.81
5.5.300.0070.04020.86
5.5.290.0070.08320.86
5.5.280.0070.03720.63
5.5.270.0000.08720.59
5.5.260.0000.07320.85
5.5.250.0070.03720.70
5.5.240.0130.07020.29
5.5.230.0070.08320.27
5.5.220.0030.04020.24
5.5.210.0070.07320.25
5.5.200.0100.07720.27
5.5.190.0100.07320.27
5.5.180.0070.07720.14
5.5.160.0170.07020.26
5.5.150.0130.07320.10
5.5.140.0070.07720.26
5.5.130.0100.06720.21
5.5.120.0070.07720.21
5.5.110.0030.08320.13
5.5.100.0230.05320.09
5.5.90.0130.07020.07
5.5.80.0070.08020.00
5.5.70.0170.06720.04
5.5.60.0100.07320.00
5.5.50.0030.07320.05
5.5.40.0030.05320.04
5.5.30.0030.06320.12
5.5.20.0070.07719.98
5.5.10.0070.08320.04
5.5.00.0070.07020.03
5.4.450.0100.07319.29
5.4.440.0030.05019.11
5.4.430.0100.06319.43
5.4.420.0100.07319.55
5.4.410.0130.04019.29
5.4.400.0130.06318.99
5.4.390.0130.04318.95
5.4.380.0030.07719.00
5.4.370.0070.06318.96
5.4.360.0030.05719.05
5.4.350.0030.05019.03
5.4.340.0030.08018.98
5.4.320.0170.06018.81
5.4.310.0000.04319.14
5.4.300.0170.05018.78
5.4.290.0070.03718.89
5.4.280.0030.05019.14
5.4.270.0030.08019.25
5.4.260.0030.08019.12
5.4.250.0070.03019.22
5.4.240.0130.07019.09
5.4.230.0070.03719.04
5.4.220.0030.05318.80
5.4.210.0100.04318.96
5.4.200.0070.07719.04
5.4.190.0100.04019.02
5.4.180.0070.06318.96
5.4.170.0100.07718.95
5.4.160.0070.06719.05
5.4.150.0100.07319.12
5.4.140.0070.06016.21
5.4.130.0100.07016.27
5.4.120.0070.07316.27
5.4.110.0030.07316.26
5.4.100.0100.07016.36
5.4.90.0030.05016.22
5.4.80.0030.04016.25
5.4.70.0070.03316.34
5.4.60.0100.07016.36
5.4.50.0100.05316.30
5.4.40.0030.05316.29
5.4.30.0070.06316.23
5.4.20.0070.06716.24
5.4.10.0070.04316.35
5.4.00.0030.06715.66
5.3.290.0030.05014.61
5.3.280.0070.07314.50
5.3.270.0000.05014.55
5.3.260.0130.05014.59
5.3.250.0070.05014.55
5.3.240.0130.07014.56
5.3.230.0030.07714.45
5.3.220.0130.06314.55
5.3.210.0100.07314.39
5.3.200.0200.05314.42
5.3.190.0030.04014.42
5.3.180.0030.06314.52
5.3.170.0030.03714.38
5.3.160.0170.05714.55
5.3.150.0030.04314.52
5.3.140.0100.07014.53
5.3.130.0100.04714.53
5.3.120.0070.07014.38
5.3.110.0170.06014.53
5.3.100.0100.04713.87
5.3.90.0130.03313.95
5.3.80.0070.07714.01
5.3.70.0070.07013.92
5.3.60.0100.06713.99
5.3.50.0130.03313.71
5.3.40.0030.04313.90
5.3.30.0070.06713.84
5.3.20.0030.08013.59
5.3.10.0030.05313.64
5.3.00.0070.05313.57
5.2.170.0000.06012.25
5.2.160.0030.03312.25
5.2.150.0130.06712.25
5.2.140.0100.03712.25
5.2.130.0030.06012.25
5.2.120.0100.04712.25
5.2.110.0130.05012.25
5.2.100.0030.03312.25
5.2.90.0030.06012.25
5.2.80.0030.04012.25
5.2.70.0030.03312.25
5.2.60.0070.05312.25
5.2.50.0130.05012.25
5.2.40.0070.03012.25
5.2.30.0030.05012.25
5.2.20.0070.03312.25
5.2.10.0100.04312.25
5.2.00.0070.03012.25
5.1.60.0130.04312.25
5.1.50.0070.02312.25
5.1.40.0100.03712.25
5.1.30.0030.04712.25
5.1.20.0070.02712.25
5.1.10.0000.03012.25
5.1.00.0070.04712.25
5.0.50.0030.03012.25
5.0.40.0000.02712.25
5.0.30.0030.03012.25
5.0.20.0030.02012.25
5.0.10.0070.01712.25
5.0.00.0070.06012.25
4.4.90.0070.02312.25
4.4.80.0000.02012.25
4.4.70.0030.02712.25
4.4.60.0000.02312.25
4.4.50.0070.02712.25
4.4.40.0070.04012.25
4.4.30.0070.01012.25
4.4.20.0030.01312.25
4.4.10.0070.02712.25
4.4.00.0030.03312.25
4.3.110.0030.03012.25
4.3.100.0000.01712.25
4.3.90.0000.02312.25
4.3.80.0000.05312.25
4.3.70.0030.01712.25
4.3.60.0030.02312.25
4.3.50.0030.02312.25
4.3.40.0000.02712.25
4.3.30.0070.03012.25
4.3.20.0000.02312.25
4.3.10.0030.03012.25
4.3.00.0000.01712.25

preferences:
41.14 ms | 401 KiB | 5 Q