3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/^(?<KEY>CONF|ESD|TRACKING)[:;\'\s]\s*(?<DATA>.*?)\s*(?:L[:;\'\s]\s*)|\G(?!^)(?:(?<QUANTITIES>\(\d+\))|(?<LINE_NUMBERS>\d+)),?(?:\s*(?<INITIALS>\*[a-zA-Z]+)?\s*$)?/i'; $str = 'esd: here is my data L: 1,2,3(4),5(12) *sm '; preg_match_all($re, $str, $matches); var_dump(array_filter($matches["QUANTITIES"])); var_dump(array_filter($matches["LINE_NUMBERS"]));

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.10.0130.00420.58
8.5.00.0130.00820.30
8.4.160.0150.00823.82
8.4.150.0010.00114.05
8.4.140.0150.00617.56
8.4.130.0140.00817.86
8.4.120.0110.00820.59
8.4.110.0180.00222.52
8.4.100.0100.00717.96
8.4.90.0130.00818.65
8.4.80.0090.00817.81
8.4.70.0100.01118.13
8.4.60.0120.00918.81
8.4.50.0140.00617.82
8.4.40.0100.01017.89
8.4.30.0140.00718.64
8.4.20.0090.00918.29
8.4.10.0110.00819.36
8.3.280.0060.00318.46
8.3.270.0140.00716.56
8.3.260.0140.00816.70
8.3.250.0090.01018.70
8.3.240.0120.00916.54
8.3.230.0100.00916.54
8.3.220.0070.00117.26
8.3.210.0140.00516.62
8.3.200.0060.00316.70
8.3.190.0060.00216.45
8.3.180.0020.00616.61
8.3.170.0070.01018.86
8.3.160.0040.01416.76
8.3.150.0120.00618.92
8.3.140.0060.00319.16
8.3.130.0080.00018.20
8.3.120.0060.00319.10
8.3.110.0030.00620.94
8.3.100.0100.00024.06
8.3.90.0040.00726.77
8.3.80.0090.00016.98
8.3.70.0080.01116.58
8.3.60.0120.00318.58
8.3.50.0150.00420.34
8.3.40.0120.00318.78
8.3.30.0060.00918.97
8.3.20.0100.00024.18
8.3.10.0030.00524.66
8.3.00.0090.00026.16
8.2.290.0110.00820.67
8.2.280.0060.00520.39
8.2.270.0170.00318.87
8.2.260.0040.01119.08
8.2.250.0060.00318.61
8.2.240.0100.00017.30
8.2.230.0090.00622.58
8.2.220.0000.00837.54
8.2.210.0150.00026.77
8.2.200.0060.00316.63
8.2.190.0120.00617.00
8.2.180.0040.01125.92
8.2.170.0120.00819.13
8.2.160.0140.00022.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0080.00019.67
8.2.110.0040.00722.19
8.2.100.0040.00818.04
8.2.90.0000.00818.34
8.2.80.0080.00018.85
8.2.70.0090.00017.63
8.2.60.0000.00817.93
8.2.50.0100.00018.07
8.2.40.0080.00020.20
8.2.30.0000.00818.11
8.2.20.0040.00420.48
8.2.10.0000.00717.70
8.2.00.0060.00319.22
8.1.330.0110.00821.76
8.1.320.0130.00616.49
8.1.310.0110.00416.61
8.1.300.0110.00418.29
8.1.290.0060.00318.88
8.1.280.0040.01125.92
8.1.270.0000.00923.99
8.1.260.0070.01126.35
8.1.250.0080.00028.09
8.1.240.0060.00319.10
8.1.230.0080.00417.71
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0070.00417.35
8.1.190.0000.00817.35
8.1.180.0030.00618.10
8.1.170.0050.00318.49
8.1.160.0040.00418.88
8.1.150.0000.00818.62
8.1.140.0060.00317.66
8.1.130.0030.00520.37
8.1.120.0070.00017.50
8.1.110.0000.00717.51
8.1.100.0000.00717.46
8.1.90.0000.00717.52
8.1.80.0040.00417.57
8.1.70.0030.00317.54
8.1.60.0000.00917.66
8.1.50.0050.00317.60
8.1.40.0040.00417.64
8.1.30.0000.00817.61
8.1.20.0190.00617.55
8.1.10.0150.00917.55
8.1.00.0220.00317.59
8.0.300.0020.00519.82
8.0.290.0040.00416.75
8.0.280.0030.00620.27
8.0.270.0030.00519.82
8.0.260.0030.00318.48
8.0.250.0040.00417.03
8.0.240.0040.00416.93
8.0.230.0030.00317.06
8.0.220.0030.00316.97
8.0.210.0020.00516.96
8.0.200.0000.00817.09
8.0.190.0040.00417.07
8.0.180.0040.00416.93
8.0.170.0040.00416.90
8.0.160.0100.00016.85
8.0.150.0120.00816.84
8.0.140.0140.00616.80
8.0.130.0100.01016.88
8.0.120.0130.00616.87
8.0.110.0170.00316.98
8.0.100.0170.00316.90
8.0.90.0110.01116.88
8.0.80.0190.00617.00
8.0.70.0140.00716.77
8.0.60.0180.00516.81
8.0.50.0160.00416.76
8.0.30.0190.00216.96
8.0.20.0210.00017.04
8.0.10.0170.00617.10
7.4.330.0030.00315.55
7.4.320.0050.00316.66
7.4.300.0100.00016.77
7.4.290.0040.00416.50
7.4.280.0040.00416.77
7.4.270.0170.00716.55
7.4.260.0200.00316.75
7.4.250.0180.00516.70
7.4.240.0160.00716.68
7.4.230.0240.00016.59
7.4.220.0200.00016.63
7.4.210.0130.00616.57
7.4.200.0160.00316.59
7.4.190.0130.00616.62
7.4.180.0190.00316.79
7.4.160.0130.00916.64
7.4.150.0190.00016.72
7.4.140.0200.00016.68
7.4.130.0150.00616.56
7.4.120.0190.00316.56
7.4.110.0200.00916.53
7.4.100.0160.00716.72
7.4.90.0110.00716.75
7.4.80.0180.00416.71
7.4.70.0120.00616.53
7.4.60.0110.00816.50
7.4.50.0150.00616.54
7.4.40.0110.01116.47
7.4.30.0130.00616.57
7.4.20.0060.01316.56
7.4.10.0090.01016.57
7.4.00.0070.01116.46

preferences:
38.03 ms | 403 KiB | 5 Q