3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "rami@gmail.com:Password This email is from Gmail email subscription is valid omar@yahoo.com:password this email is from yahoo email subscription is valid monkey@wrench.com:P@ss:word this email is a possible moneywrench email subscription is valid "; var_export(preg_match_all('~([^@\s]+@[^:\s]+):(.*)~', $text, $matches, PREG_SET_ORDER) ? $matches: "none");

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.5.00.0160.00620.32
8.4.150.0000.00114.05
8.4.140.0120.00817.82
8.4.130.0100.01118.83
8.4.120.0100.01023.98
8.4.110.0050.00618.83
8.4.100.0130.00819.05
8.4.90.0020.00622.13
8.4.80.0060.00320.71
8.4.70.0160.00919.94
8.4.60.0080.01018.64
8.4.50.0140.00618.56
8.4.40.0090.00519.64
8.4.30.0070.01319.55
8.4.20.0060.01318.76
8.4.10.0080.00019.46
8.3.280.0130.00718.49
8.3.270.0150.00416.63
8.3.260.0040.00616.73
8.3.250.0110.00818.94
8.3.240.0040.00417.11
8.3.230.0110.01016.76
8.3.220.0130.00618.85
8.3.210.0110.00718.46
8.3.200.0040.00516.95
8.3.190.0050.00916.98
8.3.180.0080.00717.05
8.3.170.0120.00820.48
8.3.160.0100.00717.00
8.3.150.0070.00716.69
8.3.140.0150.00317.22
8.3.130.0090.00316.45
8.3.120.0030.00620.57
8.3.110.0090.00018.68
8.3.100.0060.00318.43
8.3.90.0030.00526.77
8.3.80.0060.00316.88
8.3.70.0100.01616.75
8.3.60.0060.01018.29
8.3.50.0110.00517.54
8.3.40.0030.01219.00
8.3.30.0070.01018.82
8.3.20.0000.00820.66
8.3.10.0040.00422.02
8.3.00.0030.00622.52
8.2.290.0060.00420.46
8.2.280.0110.00818.28
8.2.270.0110.00716.55
8.2.260.0040.00416.47
8.2.250.0040.00418.42
8.2.240.0060.00318.86
8.2.230.0130.00320.94
8.2.220.0060.00324.06
8.2.210.0110.00426.77
8.2.200.0060.00318.66
8.2.190.0150.00018.47
8.2.180.0090.00925.92
8.2.170.0080.00622.96
8.2.160.0100.00321.36
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00017.91
8.2.120.0050.00326.35
8.2.110.0030.00621.25
8.2.100.0090.00317.70
8.2.90.0000.00817.84
8.2.80.0000.00819.16
8.2.70.0060.00317.91
8.2.60.0040.00418.03
8.2.50.0040.00418.10
8.2.40.0080.00019.26
8.2.30.0000.00819.21
8.2.20.0000.00717.86
8.2.10.0050.00319.12
8.2.00.0040.00417.93
8.1.330.0090.01122.22
8.1.320.0070.01218.23
8.1.310.0140.00418.24
8.1.300.0130.00618.68
8.1.290.0070.00330.84
8.1.280.0150.00025.92
8.1.270.0000.00920.27
8.1.260.0070.00026.35
8.1.250.0050.00228.09
8.1.240.0000.00922.02
8.1.230.0040.00720.88
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0040.00418.72
8.1.160.0070.00018.85
8.1.150.0000.01118.86
8.1.140.0030.00322.13
8.1.130.0040.00417.54
8.1.120.0000.00717.57
8.1.110.0070.00017.42
8.1.100.0060.00317.44
8.1.90.0030.00617.55
8.1.80.0000.00817.57
8.1.70.0040.00417.54
8.1.60.0060.00317.57
8.1.50.0060.00317.61
8.1.40.0030.00617.48
8.1.30.0000.00817.64
8.1.20.0050.00317.74
8.1.10.0030.00517.68
8.1.00.0050.00317.55
8.0.300.0050.00220.27
8.0.290.0080.00016.75
8.0.280.0000.00818.33
8.0.270.0070.00016.89
8.0.260.0050.00316.78
8.0.250.0000.00616.93
8.0.240.0040.00416.93
8.0.230.0040.00416.91
8.0.220.0030.00316.97
8.0.210.0000.00716.98
8.0.200.0000.00817.11
8.0.190.0080.00016.96
8.0.180.0050.00216.98
8.0.170.0040.00416.92
8.0.160.0040.00416.96
8.0.150.0040.00416.88
8.0.140.0000.00716.85
8.0.130.0000.00513.40
8.0.120.0040.00416.85
8.0.110.0040.00417.01
8.0.100.0000.00716.88
8.0.90.0040.00416.85
8.0.80.0100.00916.91
8.0.70.0000.00716.98
8.0.60.0080.00016.94
8.0.50.0030.00516.95
8.0.30.0080.00917.21
8.0.20.0130.00717.22
8.0.10.0000.00716.98
8.0.00.0110.00716.90
7.4.330.0060.00016.85
7.4.320.0060.00016.63
7.4.300.0000.00716.79
7.4.290.0070.00016.61
7.4.280.0040.00416.58
7.4.270.0070.00016.73
7.4.260.0030.00316.74
7.4.250.0070.00016.61
7.4.240.0030.00316.73
7.4.230.0030.00316.76
7.4.220.0000.00716.75
7.4.210.0070.00816.75
7.4.200.0000.00716.57
7.4.140.0100.01017.86
7.4.130.0150.00316.57
7.4.120.0060.01216.60
7.4.110.0100.00916.58
7.4.100.0150.00316.46
7.4.90.0030.01316.91
7.4.80.0140.00319.39
7.4.70.0070.01016.78
7.4.60.0000.01716.52
7.4.50.0130.00316.54
7.4.40.0150.00316.52
7.4.00.0070.01115.11
7.3.330.0050.00013.13
7.3.320.0000.00613.05
7.3.310.0030.00416.42
7.3.300.0030.00316.16
7.3.290.0070.00716.30
7.3.280.0120.00816.26
7.3.260.0120.00716.38
7.3.240.0130.00916.39
7.3.230.0120.00616.25
7.3.210.0090.00916.18
7.3.200.0060.01216.44
7.3.190.0080.00816.46
7.3.180.0100.00716.74
7.3.170.0070.01016.55
7.3.160.0030.01616.38
7.3.30.0100.01014.79
7.3.20.0620.00614.54
7.3.10.0670.00314.97
7.3.00.0840.00715.04
7.2.330.0090.00916.31
7.2.320.0150.00916.76
7.2.310.0150.00616.63
7.2.300.0030.01416.67
7.2.290.0060.01216.49
7.2.160.0110.00415.22
7.2.150.0680.00714.93
7.2.140.0660.00315.19
7.2.130.0810.00014.90
7.2.120.0750.00315.08
7.2.110.0750.00715.09
7.2.100.0680.01114.90
7.2.90.0800.00014.83
7.2.80.0700.00314.93
7.2.70.0660.01015.13
7.2.60.0700.00715.13
7.2.50.0800.00715.11
7.2.40.0720.00015.07
7.2.30.0670.01015.17
7.2.20.0730.01715.12
7.2.10.1430.01015.07
7.2.00.0660.00914.95
7.1.270.0590.01013.58
7.1.260.0560.00714.12
7.1.250.0880.01014.15

preferences:
33.41 ms | 403 KiB | 5 Q