3v4l.org

run code in 300+ PHP versions simultaneously
<?php $recipients = "john('john@yahoo.com'), frank('frank@gmail.com'),simon('simon@to.com')"; preg_match_all("/(?:, ?)?([^(]+)\('([^']+)'\)/", $recipients, $matches, PREG_SET_ORDER); var_export( array_map( fn($row) => ['name' => $row[1], 'email' => $row[2]], $matches ) );

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.120.0110.00920.40
8.4.110.0060.00718.64
8.4.100.0120.00917.88
8.4.90.0130.00720.75
8.4.80.0050.00418.79
8.4.70.0050.00619.17
8.4.60.0100.00618.94
8.4.50.0120.00918.66
8.4.40.0140.00520.14
8.4.30.0100.01020.55
8.4.20.0130.00725.74
8.4.10.0030.00623.75
8.3.250.0130.00619.01
8.3.240.0120.00816.92
8.3.230.0060.00616.64
8.3.220.0100.00719.16
8.3.210.0090.00918.56
8.3.200.0060.00316.73
8.3.190.0070.00817.32
8.3.180.0110.00818.74
8.3.170.0110.00718.97
8.3.160.0090.00917.64
8.3.150.0110.00717.22
8.3.140.0040.01419.16
8.3.130.0100.00018.47
8.3.120.0040.00418.76
8.3.110.0030.00516.70
8.3.100.0090.00016.76
8.3.90.0040.00418.60
8.3.80.0060.00318.68
8.3.70.0120.00618.55
8.3.60.0040.01116.86
8.3.50.0070.01116.73
8.3.40.0100.00320.43
8.3.30.0030.01218.84
8.3.20.0070.00724.18
8.3.10.0040.00424.66
8.3.00.0030.00526.16
8.2.290.0100.01020.55
8.2.280.0050.00418.97
8.2.270.0070.01117.14
8.2.260.0030.00718.91
8.2.250.0080.01217.43
8.2.240.0090.00017.41
8.2.230.0050.00520.94
8.2.220.0080.00024.06
8.2.210.0040.00426.77
8.2.200.0040.00718.38
8.2.190.0130.00617.00
8.2.180.0120.00916.88
8.2.170.0070.01419.00
8.2.160.0150.00722.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0090.00417.97
8.2.110.0090.00022.25
8.2.100.0040.00817.97
8.2.90.0060.00318.16
8.2.80.0030.00520.53
8.2.70.0100.00517.80
8.2.60.0130.00117.88
8.2.50.0080.00618.78
8.2.40.0090.00520.09
8.2.30.0100.00318.02
8.2.20.0070.00518.56
8.2.10.0080.00518.00
8.2.00.0090.00418.72
8.1.330.0100.00918.28
8.1.320.0130.00618.09
8.1.310.0040.00416.80
8.1.300.0030.00619.91
8.1.290.0100.00018.88
8.1.280.0090.00925.92
8.1.270.0060.00324.66
8.1.260.0050.00326.35
8.1.250.0110.00428.09
8.1.240.0100.00019.39
8.1.230.0070.00420.85
8.1.220.0040.00417.74
8.1.210.0040.00418.97
8.1.200.0110.00317.65
8.1.190.0110.00217.54
8.1.180.0060.00717.96
8.1.170.0100.00418.22
8.1.160.0040.00819.99
8.1.150.0060.00718.28
8.1.140.0110.00317.73
8.1.130.0090.00418.61
8.1.120.0060.00818.63
8.1.110.0070.00618.67
8.1.100.0070.00518.59
8.1.90.0070.00718.64
8.1.80.0100.00317.72
8.1.70.0090.00417.76
8.1.60.0090.00417.81
8.1.50.0070.00618.66
8.1.40.0080.00618.73
8.1.30.0110.00417.83
8.1.20.0090.00617.81
8.1.10.0050.00917.78
8.1.00.0090.00617.73
8.0.300.0000.00720.23
8.0.290.0020.01017.29
8.0.280.0110.00218.12
8.0.270.0040.00917.95
8.0.260.0070.00517.32
8.0.250.0080.00517.39
8.0.240.0070.00517.40
8.0.230.0090.00417.35
8.0.220.0100.00317.29
8.0.210.0110.00317.38
8.0.200.0030.00917.40
8.0.190.0050.00717.37
8.0.180.0090.00417.44
8.0.170.0100.00417.45
8.0.160.0110.00217.44
8.0.150.0130.00017.40
8.0.140.0110.00217.38
8.0.130.0040.00717.42
8.0.120.0080.00417.36
8.0.110.0020.01017.33
8.0.100.0070.00417.42
8.0.90.0030.00717.43
8.0.80.0020.00817.42
8.0.70.0060.00417.38
8.0.60.0050.00517.42
8.0.50.0060.00418.28
8.0.30.0050.00617.42
8.0.20.0040.00617.39
8.0.10.0060.00417.41

preferences:
66.88 ms | 403 KiB | 5 Q