3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_email = 'asd@toyota.com'; $re_to = "[^@]+@[^@]"; //"[^@]+@[^@]*toyota[^@]*\.[^@]+"; $regex = preg_quote($re_to); $res = preg_match($regex, $user_email); echo $res ? '1' : '0';

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.60.0160.00618.56
8.3.50.0050.01321.93
8.3.40.0110.00318.67
8.3.30.0100.00319.04
8.3.20.0000.00720.11
8.3.10.0050.00321.95
8.3.00.0070.00322.38
8.2.180.0160.00816.75
8.2.170.0100.00322.96
8.2.160.0070.00720.77
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.49
8.2.110.0080.00322.23
8.2.100.0080.00419.70
8.2.90.0000.00819.22
8.2.80.0080.00017.97
8.2.70.0080.00017.63
8.2.60.0060.00317.92
8.2.50.0080.00018.07
8.2.40.0030.00618.09
8.2.30.0050.00218.11
8.2.20.0050.00317.53
8.2.10.0040.00417.58
8.2.00.0070.00017.56
8.1.280.0120.00625.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00323.86
8.1.230.0080.00318.90
8.1.220.0030.00617.75
8.1.210.0000.00818.77
8.1.200.0060.00317.00
8.1.190.0040.00417.42
8.1.180.0040.00418.10
8.1.170.0020.00518.51
8.1.160.0040.00421.86
8.1.150.0000.00718.49
8.1.140.0040.00417.38
8.1.130.0070.00017.86
8.1.120.0000.01017.44
8.1.110.0030.00617.28
8.1.100.0000.00717.38
8.1.90.0020.00517.36
8.1.80.0030.00517.35
8.1.70.0000.00717.36
8.1.60.0000.00817.48
8.1.50.0040.00417.29
8.1.40.0000.00717.39
8.1.30.0000.00717.58
8.1.20.0040.00417.43
8.1.10.0070.00017.52
8.1.00.0000.00717.46
8.0.300.0030.00318.77
8.0.290.0000.00717.15
8.0.280.0080.00018.43
8.0.270.0000.00717.17
8.0.260.0030.00516.79
8.0.250.0080.00016.97
8.0.240.0000.00716.90
8.0.230.0000.00716.91
8.0.220.0070.00016.75
8.0.210.0030.00316.89
8.0.200.0000.00616.93
8.0.190.0000.00916.96
8.0.180.0000.00716.88
8.0.170.0000.00716.78
8.0.160.0000.00716.84
8.0.150.0000.00716.82
8.0.140.0040.00416.82
8.0.130.0000.00613.27
8.0.120.0000.00816.91
8.0.110.0040.00416.71
8.0.100.0040.00416.79
8.0.90.0040.00416.77
8.0.80.0140.00716.93
8.0.70.0000.00816.70
8.0.60.0020.00516.93
8.0.50.0040.00416.77
8.0.30.0100.00817.09
8.0.20.0120.00617.40
8.0.10.0030.00516.86
8.0.00.0100.00816.65
7.4.330.0030.00315.00
7.4.320.0030.00316.43
7.4.300.0000.00716.36
7.4.290.0040.00416.46
7.4.280.0070.00016.42
7.4.270.0050.00516.52
7.4.260.0000.00716.56
7.4.250.0000.00716.36
7.4.240.0020.00516.46
7.4.230.0040.00416.57
7.4.220.0150.00416.38
7.4.210.0080.00616.43
7.4.200.0000.00716.32
7.4.190.0000.00716.67
7.4.160.0060.00916.43
7.4.150.0140.00417.40
7.4.140.0090.01417.86
7.4.130.0080.00916.52
7.4.120.0100.00716.40
7.4.110.0130.00316.29
7.4.100.0150.00816.44
7.4.90.0190.00316.50
7.4.80.0060.01219.39
7.4.70.0000.01716.44
7.4.60.0030.01416.53
7.4.50.0030.00616.31
7.4.40.0040.01522.77
7.4.30.0070.00816.72
7.4.00.0090.00814.78
7.3.330.0000.00513.04
7.3.320.0030.00313.10
7.3.310.0000.00716.07
7.3.300.0070.00016.19
7.3.290.0060.01616.09
7.3.280.0090.00816.18
7.3.270.0070.01017.40
7.3.260.0080.01116.24
7.3.250.0070.01116.26
7.3.240.0080.00916.41
7.3.230.0100.00716.46
7.3.210.0120.00816.30
7.3.200.0160.00019.39
7.3.190.0120.00616.44
7.3.180.0120.00316.29
7.3.170.0070.01016.29
7.3.160.0120.00316.44
7.3.120.0070.01014.66
7.3.110.0050.01014.83
7.3.100.0030.01214.53
7.3.90.0090.00714.63
7.3.80.0060.00914.63
7.3.70.0090.00314.72
7.3.60.0000.01614.81
7.3.50.0070.01014.85
7.3.40.0030.00714.82
7.3.30.0110.00414.75
7.3.20.0090.00616.51
7.3.10.0070.01016.55
7.3.00.0090.00616.27
7.2.330.0090.00916.59
7.2.320.0130.00516.34
7.2.310.0070.01016.72
7.2.300.0120.00416.42
7.2.290.0110.00616.23
7.2.250.0120.00614.73
7.2.240.0070.01415.05
7.2.230.0060.00914.93
7.2.220.0030.01014.93
7.2.210.0030.01414.83
7.2.200.0070.00714.90
7.2.190.0070.00714.97
7.2.180.0060.00914.60
7.2.170.0100.00714.88
7.2.00.0080.00619.24
7.1.330.0040.01115.91
7.1.320.0110.00015.70
7.1.310.0030.01015.83
7.1.300.0030.00915.67
7.1.290.0000.01015.78
7.1.280.0110.00315.85
7.1.270.0030.01315.60
7.1.260.0090.00315.81
7.1.100.0100.00017.81
7.1.70.0050.00217.17
7.1.60.0070.01119.82
7.1.50.0060.00816.99
7.1.00.0000.07722.31
7.0.200.0070.00016.85
7.0.140.0030.07022.15
7.0.60.0130.06319.82
7.0.50.0030.08317.85
7.0.40.0130.04020.04
7.0.30.0400.07020.30
7.0.20.0270.04320.30
7.0.10.0170.06720.04
7.0.00.0000.05320.08
5.6.280.0000.07721.13
5.6.210.0170.07020.74
5.6.200.0100.04718.16
5.6.190.0100.08720.63
5.6.180.3630.04020.45
5.6.170.0200.05020.71
5.6.160.0100.08020.46
5.6.150.0000.05318.22
5.6.140.0130.05318.21
5.6.130.0100.03718.09
5.6.120.0170.06320.98
5.6.110.0000.04321.11
5.6.100.0170.07321.00
5.6.90.0030.06320.91
5.6.80.0100.06720.41
5.6.70.2870.03320.50
5.5.350.0070.08020.37
5.5.340.0030.06317.96
5.5.330.0030.04720.29
5.5.320.0270.07720.13
5.5.310.0330.04720.30
5.5.300.0000.04317.84
5.5.290.0000.05017.88
5.5.280.0100.07720.76
5.5.270.0100.04020.83
5.5.260.0100.07720.86
5.5.250.0070.06720.61
5.5.240.0070.07720.03
5.4.450.0430.05319.10
5.4.440.0530.05019.55
5.4.430.0130.06019.64
5.4.420.0130.05019.14
5.4.410.0170.04719.14
5.4.400.0900.00018.69
5.4.390.1170.00018.48
5.4.380.0200.05318.56
5.4.370.0130.05318.79
5.4.360.0170.05018.49
5.4.350.0130.06018.46
5.4.340.0270.04718.65
5.4.320.0040.03812.45
5.4.310.0030.04212.45
5.4.300.0080.03712.45
5.4.290.0070.03912.45
5.4.280.0080.03612.34
5.4.270.0070.04612.34
5.4.260.0100.05318.74
5.4.250.0070.06318.89
5.4.240.0130.05719.02
5.4.230.0170.04318.79
5.4.220.0030.08018.74
5.4.210.0100.06318.90
5.4.200.0100.07319.01
5.4.190.0130.05718.98
5.4.180.0000.06318.89
5.4.170.0070.05718.92
5.4.160.0100.05018.85
5.4.150.0130.06318.63
5.4.140.0130.04716.31
5.4.130.0130.06716.48
5.4.120.0100.05016.26
5.4.110.0070.07716.34
5.4.100.0170.04716.41
5.4.90.0200.05016.33
5.4.80.0100.07016.32
5.4.70.0100.06316.41
5.4.60.0130.07016.37
5.4.50.0100.06316.45
5.4.40.0070.05716.54
5.4.30.0100.06716.30
5.4.20.0230.06316.41
5.4.10.0130.06316.30
5.4.00.0170.05015.66
5.3.290.0100.05112.80
5.3.280.0070.06014.61
5.3.270.0070.07714.70
5.3.260.0170.04714.48
5.3.250.0230.04314.60
5.3.240.0170.04314.61
5.3.230.0130.07014.51
5.3.220.0030.07714.66
5.3.210.0000.08714.66
5.3.200.0130.07014.41
5.3.190.0130.07014.55
5.3.180.0170.04714.48
5.3.170.0170.07014.56
5.3.160.0100.05014.71
5.3.150.0070.05714.47
5.3.140.0100.05714.39
5.3.130.0170.04714.32
5.3.120.0070.05714.57
5.3.110.0070.07014.32
5.3.100.0070.05713.90
5.3.90.0130.06313.85
5.3.80.0070.06313.88
5.3.70.0100.06714.03
5.3.60.0170.04314.03
5.3.50.0100.05714.10
5.3.40.0200.04014.04
5.3.30.0130.04713.61
5.3.20.0130.04713.73
5.3.10.0100.04713.74
5.3.00.0070.05313.73
5.2.170.0100.04311.23
5.2.160.0130.05011.16
5.2.150.0130.05311.29
5.2.140.0000.05010.97
5.2.130.0100.05711.11
5.2.120.0030.04311.03
5.2.110.0070.04011.11
5.2.100.0100.04711.21
5.2.90.0100.04711.11
5.2.80.0070.06311.02
5.2.70.0130.04010.85
5.2.60.0100.04711.06
5.2.50.0130.03711.17
5.2.40.0030.04310.91
5.2.30.0100.05310.97
5.2.20.0170.03010.72
5.2.10.0030.04710.93
5.2.00.0130.05310.79
5.1.60.0070.0379.93
5.1.50.0130.03310.04
5.1.40.0130.0439.75
5.1.30.0130.04710.54
5.1.20.0070.04710.43
5.1.10.0070.04310.29
5.1.00.0100.0309.95
5.0.50.0130.0238.50
5.0.40.0030.0338.45
5.0.30.0030.0478.14
5.0.20.0070.0308.27
5.0.10.0030.0308.15
5.0.00.0070.0408.15
4.4.90.0000.0337.39
4.4.80.0030.0237.39
4.4.70.0030.0307.39
4.4.60.0000.0277.39
4.4.50.0000.0337.39
4.4.40.0030.0377.39
4.4.30.0030.0277.39
4.4.20.0100.0237.39
4.4.10.0000.0237.39
4.4.00.0000.0477.39
4.3.110.0030.0277.39
4.3.100.0000.0237.39
4.3.90.0030.0237.39
4.3.80.0030.0507.39
4.3.70.0030.0207.39
4.3.60.0070.0277.39
4.3.50.0030.0207.39
4.3.40.0030.0477.39
4.3.30.0030.0307.39
4.3.20.0030.0237.39
4.3.10.0000.0237.39
4.3.00.0070.0177.07

preferences:
43.75 ms | 401 KiB | 5 Q