3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emails = '"Bob Smith" <bob@company.com>, joe@company.com, "John Doe"<john@company.com>, Billy Doe<billy@company.com>'; preg_match_all('/(?|(?|"([^"]+)"|([^<@]+)) ?<(.+?)>|()(.+?))(?:$|, ?)/', $emails, $matches, PREG_SET_ORDER); var_export( array_column($matches, 1, 2) );

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.4.140.0110.01017.59
8.4.130.0120.00917.89
8.4.120.0140.00720.66
8.4.110.0030.00522.53
8.4.100.0090.00717.91
8.4.90.0120.00918.46
8.4.80.0060.00219.88
8.4.70.0080.00217.76
8.4.60.0140.00818.48
8.4.50.0100.01117.71
8.4.40.0040.00420.57
8.4.30.0100.00618.62
8.4.20.0160.00325.82
8.4.10.0150.00623.96
8.3.270.0120.00716.34
8.3.260.0100.01116.50
8.3.250.0120.00718.84
8.3.240.0100.00616.71
8.3.230.0110.00916.77
8.3.220.0100.01117.07
8.3.210.0100.00916.86
8.3.200.0060.00216.52
8.3.190.0030.00516.48
8.3.180.0140.00618.43
8.3.170.0160.00318.80
8.3.160.0150.00319.00
8.3.150.0070.00718.76
8.3.140.0110.00716.62
8.3.130.0000.00916.79
8.3.120.0030.00619.03
8.3.110.0160.00320.94
8.3.100.0060.00324.06
8.3.90.0050.00326.77
8.3.80.0060.00317.97
8.3.70.0120.00616.75
8.3.60.0070.01116.75
8.3.50.0070.00716.86
8.3.40.0000.01520.29
8.3.30.0040.01218.73
8.3.20.0040.00424.18
8.3.10.0000.00724.66
8.3.00.0060.00326.16
8.2.290.0120.00720.32
8.2.280.0070.00518.43
8.2.270.0030.00616.61
8.2.260.0140.00719.09
8.2.250.0030.00618.61
8.2.240.0040.00419.26
8.2.230.0030.00622.58
8.2.220.0040.00837.54
8.2.210.0030.00626.77
8.2.200.0040.00416.60
8.2.190.0090.00616.88
8.2.180.0070.01018.41
8.2.170.0190.00418.95
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00019.79
8.2.110.0000.00922.42
8.2.100.0070.00417.84
8.2.90.0060.00318.93
8.2.80.0000.00917.97
8.2.70.0170.00417.25
8.2.60.0030.00517.80
8.2.50.0000.00818.07
8.2.40.0090.00018.16
8.2.30.0040.00417.95
8.2.20.0000.00719.18
8.2.10.0040.00418.09
8.2.00.0080.00017.75
8.1.330.0110.00721.86
8.1.320.0130.00616.48
8.1.310.0080.00016.61
8.1.300.0100.00016.47
8.1.290.0080.00030.84
8.1.280.0110.00325.92
8.1.270.0000.00724.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.97
8.1.230.0060.00618.97
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0030.00517.39
8.1.180.0000.00918.10
8.1.170.0040.00418.62
8.1.160.0040.00418.79
8.1.150.0040.00418.70
8.1.140.0000.00717.52
8.1.130.0050.00317.54
8.1.120.0080.00017.60
8.1.110.0030.00617.52
8.1.100.0030.00617.53
8.1.90.0040.00417.54
8.1.80.0000.00817.62
8.1.70.0030.00617.61
8.1.60.0000.00917.69
8.1.50.0070.00217.64
8.1.40.0100.00017.61
8.1.30.0000.00917.70
8.1.20.0050.00517.76
8.1.10.0060.00317.69
8.1.00.0040.00417.53
8.0.300.0040.00418.77
8.0.290.0000.00717.18
8.0.280.0000.00718.38
8.0.270.0040.00417.23
8.0.260.0080.00016.96
8.0.250.0040.00416.97
8.0.240.0050.00516.89
8.0.230.0030.00716.88
8.0.220.0050.00516.91
8.0.210.0080.00016.83
8.0.200.0080.00016.98
8.0.190.0030.00516.82
8.0.180.0000.00816.90
8.0.170.0050.00516.97
8.0.160.0030.00616.96
8.0.150.0070.00216.86
8.0.140.0060.00316.96
8.0.130.0040.00416.95
8.0.120.0040.00416.82
8.0.110.0040.00416.90
8.0.100.0080.00016.90
8.0.90.0060.00216.81
8.0.80.0030.00616.82
8.0.70.0060.00316.95
8.0.60.0020.00716.90
8.0.50.0090.00016.79
8.0.30.0100.00016.84
8.0.20.0040.00616.87
8.0.10.0090.00017.04

preferences:
30.08 ms | 403 KiB | 5 Q