3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = '/^[^@]+@[^@]*toyota[^@]*\.[^@]+/'; $emails = array( 'asd@abctoyotacsl.ca', 'asd@abclexuscsl.com', 'asd@toyo.com', 'asd@lexis.ca', ); foreach($emails as $e){ echo preg_match($pattern, $e); }

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.0090.00918.68
8.3.50.0130.00922.03
8.3.40.0070.00718.84
8.3.30.0070.01418.95
8.3.20.0040.00420.39
8.3.10.0000.00822.10
8.3.00.0040.00422.52
8.2.180.0090.00616.50
8.2.170.0150.00722.96
8.2.160.0150.00020.89
8.2.150.0080.00024.18
8.2.140.0150.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00017.63
8.2.110.0050.00519.38
8.2.100.0090.00318.03
8.2.90.0090.00019.21
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0080.00017.93
8.2.50.0060.00318.07
8.2.40.0040.00418.34
8.2.30.0000.00718.15
8.2.20.0090.00017.68
8.2.10.0040.00419.68
8.2.00.0040.00417.82
8.1.280.0130.00325.92
8.1.270.0040.00422.20
8.1.260.0050.00526.35
8.1.250.0050.00328.09
8.1.240.0000.01021.35
8.1.230.0040.00717.57
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00717.47
8.1.190.0040.00717.35
8.1.180.0040.00418.10
8.1.170.0090.00018.47
8.1.160.0000.00721.97
8.1.150.0030.00518.83
8.1.140.0020.00517.50
8.1.130.0040.00417.71
8.1.120.0030.00617.64
8.1.110.0040.00417.57
8.1.100.0000.00717.51
8.1.90.0050.00217.51
8.1.80.0070.00017.62
8.1.70.0070.00017.50
8.1.60.0030.00617.60
8.1.50.0000.00817.66
8.1.40.0060.00317.54
8.1.30.0000.00717.61
8.1.20.0000.00917.76
8.1.10.0000.00717.63
8.1.00.0000.00717.48
8.0.300.0040.00418.77
8.0.290.0080.00016.88
8.0.280.0030.00318.33
8.0.270.0030.00317.21
8.0.260.0000.00716.96
8.0.250.0000.00717.01
8.0.240.0040.00417.11
8.0.230.0000.00817.07
8.0.220.0000.00717.03
8.0.210.0030.00317.03
8.0.200.0060.00317.00
8.0.190.0040.00417.09
8.0.180.0040.00417.04
8.0.170.0080.00017.05
8.0.160.0050.00217.09
8.0.150.0000.00716.87
8.0.140.0070.00016.90
8.0.130.0030.00313.41
8.0.120.0050.00317.04
8.0.110.0050.00317.00
8.0.100.0040.00416.91
8.0.90.0000.00716.93
8.0.80.0070.01317.04
8.0.70.0070.00016.93
8.0.60.0070.00016.91
8.0.50.0040.00416.89
8.0.30.0130.00817.41
8.0.20.0150.00317.40
8.0.10.0040.00417.04
8.0.00.0160.00916.89
7.4.330.0050.00015.10
7.4.320.0000.00616.72
7.4.300.0060.00016.82
7.4.290.0030.00316.77
7.4.280.0000.00716.80
7.4.270.0000.00716.72
7.4.260.0000.00716.62
7.4.250.0070.00016.62
7.4.240.0030.00516.72
7.4.230.0040.00416.87
7.4.220.0030.01616.68
7.4.210.0090.00616.75
7.4.200.0000.00716.61
7.4.190.0000.00716.95
7.4.160.0110.00516.67
7.4.150.0120.00617.40
7.4.140.0110.00617.86
7.4.130.0060.01216.62
7.4.120.0130.00716.63
7.4.110.0100.00716.58
7.4.100.0180.00016.61
7.4.90.0080.00916.50
7.4.80.0060.00919.39
7.4.70.0100.00616.76
7.4.60.0080.00816.67
7.4.50.0000.00816.72
7.4.40.0060.00622.77
7.4.30.0060.01216.56
7.4.00.0030.01415.15
7.3.330.0000.00613.30
7.3.320.0060.00013.25
7.3.310.0040.00416.26
7.3.300.0070.00016.26
7.3.290.0090.01216.51
7.3.280.0090.00616.40
7.3.270.0170.00017.40
7.3.260.0100.01416.49
7.3.250.0120.00516.65
7.3.240.0130.01316.72
7.3.230.0110.01316.74
7.3.210.0130.00616.68
7.3.200.0100.00619.39
7.3.190.0030.01416.84
7.3.180.0110.00616.48
7.3.170.0090.01216.44
7.3.160.0130.00716.40
7.3.120.0080.00415.30
7.3.00.0100.00016.83
7.2.330.0070.01016.92
7.2.320.0110.01116.57
7.2.310.0080.00916.63
7.2.300.0110.00716.77
7.2.290.0060.01416.77
7.2.130.0000.01117.08
7.2.120.0030.01016.83
7.2.110.0000.00917.14
7.2.100.0090.00017.18
7.2.90.0040.00817.05
7.2.80.0060.00916.77
7.2.70.0030.00617.30
7.2.60.0060.00616.91
7.2.50.0030.00617.00
7.2.40.0070.00716.88
7.2.30.0060.00616.94
7.2.20.0090.00316.89
7.2.10.0030.01017.09
7.2.00.0080.00518.28
7.1.250.0000.01315.97
7.1.240.0060.00316.06
7.1.230.0070.00716.08
7.1.220.0000.01115.92
7.1.210.0070.00415.74
7.1.200.0030.00615.60
7.1.190.0070.00716.01
7.1.180.0060.00615.87
7.1.170.0060.00616.03
7.1.160.0040.00815.58
7.1.150.0030.00915.98
7.1.140.0060.00316.01
7.1.130.0070.00715.66
7.1.120.0050.00515.77
7.1.110.0100.00315.99
7.1.100.0120.00315.70
7.1.90.0070.00316.05
7.1.80.0120.00015.60
7.1.70.0010.00816.60
7.1.60.0070.00716.81
7.1.50.0120.01025.35
7.1.40.0060.00915.83
7.1.30.0040.00816.06
7.1.20.0030.00715.95
7.1.10.0060.00315.98
7.1.00.0050.04019.16
7.0.330.0100.00015.34
7.0.320.0050.00515.63
7.0.310.0030.00515.37
7.0.300.0030.00915.59
7.0.290.0030.00915.55
7.0.280.0100.00315.69
7.0.270.0040.00415.55
7.0.260.0060.00315.64
7.0.250.0040.00415.58
7.0.240.0000.01015.56
7.0.230.0080.00415.34
7.0.220.0030.00615.63
7.0.210.0000.01115.70
7.0.200.0020.01216.19
7.0.190.0060.00615.66
7.0.180.0030.00615.22
7.0.170.0060.00315.64
7.0.160.0000.01415.49
7.0.150.0050.00515.73
7.0.140.0070.03818.81
7.0.130.0060.00615.63
7.0.120.0030.01015.39
7.0.110.0070.00715.54
7.0.100.0000.01315.47
7.0.90.0030.00915.73
7.0.80.0090.00015.43
7.0.70.0030.00715.50
7.0.60.0050.04417.68
7.0.50.0070.03816.71
7.0.40.0080.03216.94
7.0.30.0180.02716.77
7.0.20.0100.02816.91
7.0.10.0180.02316.94
7.0.00.0050.04316.79
5.6.380.0000.01514.23
5.6.370.0040.00714.24
5.6.360.0070.00414.10
5.6.350.0030.01014.13
5.6.340.0000.01214.51
5.6.330.0040.00714.40
5.6.320.0130.00314.33
5.6.310.0080.00414.30
5.6.300.0060.00614.49
5.6.290.0060.00314.51
5.6.280.0050.03817.78
5.6.270.0040.00714.28
5.6.260.0000.01114.15
5.6.250.0000.01314.44
5.6.240.0060.00614.18
5.6.230.0040.01114.14
5.6.220.0040.01114.27
5.6.210.0080.04317.47
5.6.200.0080.04016.15
5.6.190.0100.04717.41
5.6.180.1670.02517.65
5.6.170.0170.02017.56
5.6.160.0060.02517.17
5.6.150.0070.03216.29
5.6.140.0080.04216.15
5.6.130.0080.02416.32
5.6.120.0080.02217.68
5.6.110.0080.03517.71
5.6.100.0050.02417.59
5.6.90.0060.02417.61
5.6.80.0080.03717.35
5.6.70.0180.04317.25
5.6.60.0000.01113.91
5.6.50.0000.01314.44
5.6.40.0000.01314.22
5.6.30.0030.01314.55
5.6.20.0000.01114.30
5.6.10.0060.01313.82
5.6.00.0070.00714.12
5.5.380.0090.00311.18
5.5.370.0070.00711.20
5.5.360.0000.01111.18
5.5.350.0030.04615.78
5.5.340.0030.04514.54
5.5.330.0100.03815.78
5.5.320.0180.04015.71
5.5.310.0250.03515.70
5.5.300.0070.02014.60
5.5.290.0030.04314.58
5.5.280.0070.04315.93
5.5.270.0070.04016.00
5.5.260.0080.04216.01
5.5.250.0070.03315.98
5.5.240.0020.04815.65
5.5.230.0030.00311.18
5.5.220.0030.00611.18
5.5.210.0000.00911.18
5.5.200.0000.00811.18
5.5.190.0000.01011.18
5.5.180.0060.00311.18
5.5.170.0030.00711.18
5.5.160.0030.00311.18
5.5.150.0030.00711.18
5.5.140.0030.00911.18
5.5.130.0000.01111.20
5.5.120.0030.00711.18
5.5.110.0100.00011.18
5.5.100.0030.00711.18
5.5.90.0000.00611.18
5.5.80.0060.00311.18
5.5.70.0000.00611.18
5.5.60.0000.00711.18
5.5.50.0000.01111.18
5.5.40.0000.00611.18
5.5.30.0030.00311.18
5.5.20.0040.00411.18
5.5.10.0000.00811.18
5.5.00.0030.00611.18
5.4.450.0110.02315.30
5.4.440.0200.02415.19
5.4.430.0120.02715.18
5.4.420.0280.01815.14
5.4.410.0380.02315.25
5.4.400.0100.02514.95
5.4.390.0020.03514.93
5.4.380.0420.03514.95
5.4.370.0070.03014.89
5.4.360.0120.02814.92
5.4.350.0070.03414.96
5.4.340.0110.02614.88
5.4.330.0040.00411.18
5.4.320.0070.02311.82
5.4.310.0090.02011.81
5.4.300.0040.02811.82
5.4.290.0030.02711.81
5.4.280.0040.01911.76
5.4.270.0120.03515.06
5.4.260.0120.03215.12
5.4.250.0100.03715.01
5.4.240.0030.03814.96
5.4.230.0050.03115.04
5.4.220.0100.03515.02
5.4.210.0100.03815.04
5.4.200.0070.03015.07
5.4.190.0030.04015.15
5.4.180.0050.02915.07
5.4.170.0060.03015.10
5.4.160.0050.04115.01
5.4.150.0030.03514.96
5.4.140.0060.02913.84
5.4.130.0060.03613.88
5.4.120.0100.03413.72
5.4.110.0080.02513.75
5.4.100.0050.03813.80
5.4.90.0040.03213.73
5.4.80.0050.02713.73
5.4.70.0080.02713.74
5.4.60.0080.03213.75
5.4.50.0020.03413.76
5.4.40.0050.03013.81
5.4.30.0100.02913.83
5.4.20.0120.02013.82
5.4.10.0070.02813.82
5.4.00.0030.02713.58
5.3.290.0060.02311.99
5.3.280.0080.03512.97
5.3.270.0060.03112.99
5.3.260.0080.03112.88
5.3.250.0070.03712.97
5.3.240.0070.03312.97
5.3.230.0140.03312.95
5.3.220.0030.04812.90
5.3.210.0050.03012.88
5.3.200.0120.02812.87
5.3.190.0120.03212.83
5.3.180.0060.02812.86
5.3.170.0070.02912.94
5.3.160.0080.04012.90
5.3.150.0070.02612.77
5.3.140.0080.02312.86
5.3.130.0100.03212.85
5.3.120.0100.02412.91
5.3.110.0060.03712.88
5.3.100.0050.02812.66
5.3.90.0050.02812.60
5.3.80.0050.02612.59
5.3.70.0030.02812.59
5.3.60.0100.02312.49
5.3.50.0080.02612.53
5.3.40.0020.03312.55
5.3.30.0020.04312.51
5.3.20.0030.04012.49
5.3.10.0050.02512.40
5.3.00.0030.03012.49
5.2.170.0070.03011.27
5.2.160.0050.02311.23
5.2.150.0080.02211.16
5.2.140.0050.03111.21
5.2.130.0100.01911.16
5.2.120.0030.02611.13
5.2.110.0090.02811.20
5.2.100.0090.01811.25
5.2.90.0030.02411.25
5.2.80.0050.02211.12
5.2.70.0100.02011.23
5.2.60.0030.02611.17
5.2.50.0080.02611.20
5.2.40.0050.02311.14
5.2.30.0070.02211.10
5.2.20.0050.02111.19
5.2.10.0020.02611.11
5.2.00.0040.02211.03
5.1.60.0030.02310.62
5.1.50.0070.01710.66
5.1.40.0030.02010.71
5.1.30.0070.01810.83
5.1.20.0030.02410.91
5.1.10.0020.02310.62
5.1.00.0050.02010.78
5.0.50.0030.0159.80
5.0.40.0030.0199.84
5.0.30.0030.0229.73
5.0.20.0030.0139.79
5.0.10.0030.0209.77
5.0.00.0000.0279.65
4.4.90.0060.0119.33
4.4.80.0050.0159.33
4.4.70.0020.0139.33
4.4.60.0040.0139.33
4.4.50.0030.0139.33
4.4.40.0030.0209.33
4.4.30.0000.0159.33
4.4.20.0000.0199.33
4.4.10.0020.0129.33
4.4.00.0030.0219.33
4.3.110.0000.0149.33
4.3.100.0020.0129.33
4.3.90.0000.0189.33
4.3.80.0050.0209.33
4.3.70.0020.0139.33
4.3.60.0030.0129.33
4.3.50.0000.0159.33
4.3.40.0010.0219.33
4.3.30.0030.0159.33
4.3.20.0030.0129.33
4.3.10.0020.0179.33
4.3.00.0020.01013.38

preferences:
39.62 ms | 401 KiB | 5 Q