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.0120.00618.43
8.3.50.0100.00921.98
8.3.40.0090.00618.71
8.3.30.0110.00319.13
8.3.20.0070.00020.33
8.3.10.0040.00422.14
8.3.00.0070.00022.44
8.2.180.0090.01316.38
8.2.170.0100.00722.96
8.2.160.0070.00720.94
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.36
8.2.110.0050.00521.12
8.2.100.0040.00718.03
8.2.90.0060.00317.97
8.2.80.0000.00818.94
8.2.70.0080.00017.50
8.2.60.0060.00317.80
8.2.50.0040.00418.07
8.2.40.0050.00318.22
8.2.30.0000.00818.02
8.2.20.0050.00217.58
8.2.10.0040.00417.79
8.2.00.0030.00617.72
8.1.280.0150.00625.92
8.1.270.0080.00022.07
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0040.00422.46
8.1.230.0080.00420.91
8.1.220.0000.00817.78
8.1.210.0040.00418.79
8.1.200.0030.00617.35
8.1.190.0080.00017.39
8.1.180.0030.00618.10
8.1.170.0000.00818.59
8.1.160.0000.00821.92
8.1.150.0040.00418.66
8.1.140.0000.00717.38
8.1.130.0040.00417.83
8.1.120.0000.00717.51
8.1.110.0000.00717.31
8.1.100.0020.00517.42
8.1.90.0040.00417.36
8.1.80.0040.00417.35
8.1.70.0030.00317.46
8.1.60.0040.00417.61
8.1.50.0000.00717.55
8.1.40.0000.00817.51
8.1.30.0080.00017.64
8.1.20.0050.00317.69
8.1.10.0070.00017.46
8.1.00.0000.00717.41
8.0.300.0030.00320.05
8.0.290.0000.00716.75
8.0.280.0030.00318.38
8.0.270.0000.00817.12
8.0.260.0070.00016.75
8.0.250.0040.00416.91
8.0.240.0050.00317.04
8.0.230.0030.00316.98
8.0.220.0030.00316.99
8.0.210.0050.00316.81
8.0.200.0060.00016.84
8.0.190.0050.00217.02
8.0.180.0000.00716.99
8.0.170.0040.00417.00
8.0.160.0070.00016.86
8.0.150.0030.00316.89
8.0.140.0000.00716.91
8.0.130.0000.00613.35
8.0.120.0040.00416.88
8.0.110.0070.00016.86
8.0.100.0000.00716.80
8.0.90.0000.00717.02
8.0.80.0030.01216.96
8.0.70.0070.00017.02
8.0.60.0040.00416.87
8.0.50.0050.00216.95
8.0.30.0130.00517.07
8.0.20.0160.00317.40
8.0.10.0040.00416.95
8.0.00.0080.00816.83
7.4.330.0030.00315.02
7.4.320.0030.00316.50
7.4.300.0030.00316.45
7.4.290.0030.00316.36
7.4.280.0000.00716.42
7.4.270.0030.00616.62
7.4.260.0040.00416.34
7.4.250.0030.00516.31
7.4.240.0040.00416.48
7.4.230.0070.00016.33
7.4.220.0070.01016.60
7.4.210.0050.01116.51
7.4.200.0000.00716.62
7.4.190.0030.00316.33
7.4.160.0120.00316.50
7.4.150.0090.00817.40
7.4.140.0130.00517.86
7.4.130.0100.00816.44
7.4.120.0100.01016.52
7.4.110.0120.00416.49
7.4.100.0040.01316.30
7.4.90.0030.01316.58
7.4.80.0030.01319.39
7.4.70.0030.01316.46
7.4.60.0070.01016.46
7.4.50.0040.00416.22
7.4.40.0130.00322.77
7.4.30.0080.00816.58
7.4.00.0070.00914.81
7.3.330.0030.00312.96
7.3.320.0030.00213.00
7.3.310.0040.00416.30
7.3.300.0070.00016.12
7.3.290.0080.00616.27
7.3.280.0090.00916.29
7.3.270.0100.01417.40
7.3.260.0140.00716.57
7.3.250.0130.00316.46
7.3.240.0070.01116.55
7.3.230.0120.00616.39
7.3.210.0060.01616.51
7.3.200.0130.00319.39
7.3.190.0090.00916.40
7.3.180.0160.00016.21
7.3.170.0070.01016.55
7.3.160.0080.00816.33
7.3.120.0080.00914.61
7.3.110.0080.00914.78
7.3.100.0050.00914.64
7.3.90.0040.00814.63
7.3.80.0100.00314.83
7.3.70.0040.00414.60
7.3.60.0050.01014.54
7.3.50.0070.00814.65
7.3.40.0070.00714.49
7.3.30.0110.00514.66
7.3.20.0060.00816.44
7.3.10.0080.00516.41
7.3.00.0070.00516.49
7.2.330.0090.01216.48
7.2.320.0140.00316.67
7.2.310.0100.00616.78
7.2.300.0090.00916.68
7.2.290.0100.00716.55
7.2.250.0080.01115.18
7.2.240.0040.01314.99
7.2.230.0070.00714.90
7.2.220.0060.00814.81
7.2.210.0020.01314.49
7.2.200.0140.00214.82
7.2.190.0050.01014.59
7.2.180.0030.00714.91
7.2.170.0060.01014.76
7.2.160.0000.01414.99
7.2.150.0030.00716.48
7.2.140.0110.00716.46
7.2.130.0060.01016.58
7.2.120.0060.01216.71
7.2.110.0080.00816.62
7.2.100.0070.01016.43
7.2.90.0040.01416.68
7.2.80.0110.00716.98
7.2.70.0130.00016.68
7.2.60.0110.00316.78
7.2.50.0070.01016.72
7.2.40.0030.01216.91
7.2.30.0040.00717.02
7.2.20.0040.01416.74
7.2.10.0100.00316.88
7.2.00.0070.00718.09
7.1.330.0090.00515.92
7.1.320.0050.00615.62
7.1.310.0060.00515.71
7.1.300.0050.01015.61
7.1.290.0050.01015.71
7.1.280.0070.00515.58
7.1.270.0050.00615.52
7.1.260.0100.00315.66
7.1.250.0030.00915.75
7.1.200.0060.00615.37
7.1.100.0390.00718.30
7.1.70.0040.00417.13
7.1.60.0060.01319.82
7.1.50.0000.01316.96
7.1.00.0000.07722.46
7.0.200.0080.00416.79
7.0.140.0100.07022.15
7.0.60.0030.07019.85
7.0.50.0070.04017.78
7.0.40.0130.06019.96
7.0.30.0330.06720.17
7.0.20.0270.05720.31
7.0.10.0270.04020.16
7.0.00.0100.07320.11
5.6.280.0070.09020.90
5.6.210.0100.08020.43
5.6.200.0000.06318.16
5.6.190.0100.07020.77
5.6.180.4170.04320.41
5.6.170.0330.07720.49
5.6.160.0170.06020.46
5.6.150.0070.04018.11
5.6.140.0000.09018.14
5.6.130.0070.05718.14
5.6.120.0100.08020.91
5.6.110.0030.04021.08
5.6.100.0130.08020.90
5.6.90.0100.08020.97
5.6.80.0200.06720.51
5.6.70.3030.04320.36
5.5.350.0030.08020.40
5.5.340.0100.07717.91
5.5.330.0070.04320.25
5.5.320.0170.05720.18
5.5.310.0400.05720.24
5.5.300.0030.04017.98
5.5.290.0070.06017.87
5.5.280.0070.04020.76
5.5.270.0000.04320.75
5.5.260.0170.07020.84
5.5.250.0070.08320.54
5.5.240.0100.08320.14
5.4.450.0630.05719.25
5.4.440.0700.05319.65
5.4.430.0100.05319.26
5.4.420.0170.06319.52
5.4.410.0070.05719.41
5.4.400.1100.00018.83
5.4.390.1170.00018.65
5.4.380.0330.04318.68
5.4.370.0200.05018.69
5.4.360.0100.05318.53
5.4.350.0130.05018.52
5.4.340.0300.05718.63
5.4.320.0030.04012.45
5.4.310.0040.04012.45
5.4.300.0070.03512.45
5.4.290.0090.04312.45
5.4.280.0050.03612.34
5.4.270.0080.03512.35
5.4.260.0100.06318.94
5.4.250.0070.06018.73
5.4.240.0030.08318.64
5.4.230.0200.05318.86
5.4.220.0170.05318.88
5.4.210.0100.05318.74
5.4.200.0130.06318.88
5.4.190.0030.06018.69
5.4.180.0170.05318.92
5.4.170.0200.06318.87
5.4.160.0100.06018.73
5.4.150.0070.06019.02
5.4.140.0130.04716.29
5.4.130.0230.03316.48
5.4.120.0100.06716.44
5.4.110.0100.06016.20
5.4.100.0200.05716.34
5.4.90.0100.06716.23
5.4.80.0130.07016.47
5.4.70.0070.06016.18
5.4.60.0100.05316.48
5.4.50.0130.05316.52
5.4.40.0130.05016.46
5.4.30.0130.05016.23
5.4.20.0130.04716.26
5.4.10.0030.05716.31
5.4.00.0100.06315.69
5.3.290.0070.04012.80
5.3.280.0100.05714.52
5.3.270.0100.05314.48
5.3.260.0200.06314.65
5.3.250.0070.06314.44
5.3.240.0170.06714.75
5.3.230.0130.05314.69
5.3.220.0130.06014.56
5.3.210.0130.05314.65
5.3.200.0100.06314.57
5.3.190.0030.06314.57
5.3.180.0070.05014.26
5.3.170.0130.07014.65
5.3.160.0070.05314.57
5.3.150.0030.05714.56
5.3.140.0230.04314.70
5.3.130.0130.07014.55
5.3.120.0130.05314.64
5.3.110.0100.07714.56
5.3.100.0070.06314.12
5.3.90.0100.07013.93
5.3.80.0130.07014.06
5.3.70.0130.06314.02
5.3.60.0030.05713.69
5.3.50.0100.05313.88
5.3.40.0130.06313.64
5.3.30.0030.07013.79
5.3.20.0070.06313.71
5.3.10.0300.04713.42
5.3.00.0170.05013.52
5.2.170.0070.04711.07
5.2.160.0100.04011.15
5.2.150.0030.04711.29
5.2.140.0130.05311.15
5.2.130.0100.04711.12
5.2.120.0100.04711.01
5.2.110.0130.04711.25
5.2.100.0100.05011.24
5.2.90.0170.04311.11
5.2.80.0100.05711.01
5.2.70.0070.04011.18
5.2.60.0100.03711.16
5.2.50.0000.06711.02
5.2.40.0100.03310.91
5.2.30.0030.06310.98
5.2.20.0100.05011.11
5.2.10.0030.04010.94
5.2.00.0030.04310.80
5.1.60.0030.03310.09
5.1.50.0070.04310.08
5.1.40.0070.0309.91
5.1.30.0170.04010.23
5.1.20.0030.03710.52
5.1.10.0070.0339.95
5.1.00.0030.05010.29
5.0.50.0030.0308.43
5.0.40.0070.0238.50
5.0.30.0130.0378.08
5.0.20.0100.0278.18
5.0.10.0070.0338.36
5.0.00.0070.0478.34
4.4.90.0070.0207.39
4.4.80.0100.0237.39
4.4.70.0070.0207.39
4.4.60.0030.0207.39
4.4.50.0070.0207.39
4.4.40.0070.0337.39
4.4.30.0000.0307.39
4.4.20.0070.0206.93
4.4.10.0000.0336.75
4.4.00.0100.0276.57
4.3.110.0030.0306.25
4.3.100.0070.0236.84
4.3.90.0000.0236.84
4.3.80.0030.0436.84
4.3.70.0000.0236.84
4.3.60.0100.0236.84
4.3.50.0000.0236.84
4.3.40.0000.0376.84
4.3.30.0000.0336.84
4.3.20.0000.0236.84
4.3.10.0000.0236.84
4.3.00.0130.0177.07

preferences:
48.26 ms | 401 KiB | 5 Q