3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regexp = '/(\(+\d{2}\)+)\s+(\d{4,5})\s+\-+\s+(\d{4})/g'; $matches=array(); preg_match($regexp, '(11) 4789 2180', $matches); print_r($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.3.70.0100.01018.02
8.3.60.0120.00618.15
8.3.50.0100.00722.05
8.3.40.0150.00018.45
8.3.30.0070.00718.82
8.3.20.0000.00720.16
8.3.10.0080.00022.05
8.3.00.0040.00422.33
8.2.190.0000.01416.58
8.2.180.0120.00616.50
8.2.170.0100.00722.96
8.2.160.0030.01019.04
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0110.00826.16
8.2.120.0080.00019.54
8.2.110.0030.00620.52
8.2.100.0060.00617.85
8.2.90.0040.00418.16
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0030.00617.80
8.2.50.0030.00618.07
8.2.40.0090.00318.03
8.2.30.0000.00717.92
8.2.20.0000.00717.51
8.2.10.0040.00417.55
8.2.00.0000.00817.50
8.1.280.0070.01125.92
8.1.270.0050.00318.50
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0000.00822.19
8.1.230.0060.00622.88
8.1.220.0000.00817.74
8.1.210.0040.00418.89
8.1.200.0000.00917.13
8.1.190.0040.00417.30
8.1.180.0040.00418.61
8.1.170.0040.00418.50
8.1.160.0000.00722.19
8.1.150.0040.00418.48
8.1.140.0000.00817.34
8.1.130.0070.00017.73
8.1.120.0000.00717.30
8.1.110.0040.00417.38
8.1.100.0070.00017.41
8.1.90.0000.00717.38
8.1.80.0040.00417.36
8.1.70.0000.00817.33
8.1.60.0030.00617.49
8.1.50.0070.00017.37
8.1.40.0040.00417.32
8.1.30.0030.00617.52
8.1.20.0030.00517.49
8.1.10.0000.00817.50
8.1.00.0050.00317.32
8.0.300.0000.00820.11
8.0.290.0040.00416.89
8.0.280.0000.00718.37
8.0.270.0040.00417.21
8.0.260.0030.00316.81
8.0.250.0000.00716.98
8.0.240.0040.00416.97
8.0.230.0000.00716.85
8.0.220.0000.00716.84
8.0.210.0070.00016.77
8.0.200.0060.00016.91
8.0.190.0000.01116.82
8.0.180.0070.00016.93
8.0.170.0060.00316.89
8.0.160.0040.00416.86
8.0.150.0030.00416.93
8.0.140.0050.00216.90
8.0.130.0000.00613.32
8.0.120.0060.00316.83
8.0.110.0000.00716.86
8.0.100.0000.00716.91
8.0.90.0000.00716.84
8.0.80.0130.00616.88
8.0.70.0070.00016.77
8.0.60.0000.00816.68
8.0.50.0000.00716.93
8.0.30.0110.00816.93
8.0.20.0080.01017.40
8.0.10.0040.00416.82
8.0.00.0140.00416.64
7.4.330.0000.00615.00
7.4.320.0000.00716.44
7.4.300.0000.00616.53
7.4.290.0100.00016.55
7.4.280.0030.00316.39
7.4.270.0040.00416.39
7.4.260.0000.00816.35
7.4.250.0040.00416.44
7.4.240.0030.00416.55
7.4.230.0000.00616.53
7.4.220.0090.00916.39
7.4.210.0050.01116.50
7.4.200.0040.00416.34
7.4.190.0030.00316.56
7.4.160.0080.01516.53
7.4.150.0100.00717.40
7.4.140.0040.01317.86
7.4.130.0050.01316.30
7.4.120.0100.00716.40
7.4.110.0030.01716.38
7.4.100.0040.01416.48
7.4.90.0140.00716.41
7.4.80.0170.00419.39
7.4.70.0060.01016.36
7.4.60.0110.00716.49
7.4.50.0000.00816.34
7.4.40.0080.00722.77
7.4.30.0100.01316.49
7.4.00.0080.00814.71
7.3.330.0000.00613.11
7.3.320.0000.00513.12
7.3.310.0040.00416.16
7.3.300.0000.00716.10
7.3.290.0050.00816.20
7.3.280.0090.00616.21
7.3.270.0080.00817.40
7.3.260.0090.01216.45
7.3.250.0120.00516.31
7.3.240.0110.00716.14
7.3.230.0110.00716.39
7.3.210.0100.00716.26
7.3.200.0030.01219.39
7.3.190.0100.00616.19
7.3.180.0070.01116.44
7.3.170.0080.00816.30
7.3.160.0100.00616.16
7.3.120.0070.00714.53
7.2.330.0070.01016.29
7.2.320.0100.00716.20
7.2.310.0120.00916.57
7.2.300.0100.00616.22
7.2.290.0090.00616.24
7.2.00.0000.01119.40
7.1.200.0000.00615.80
7.1.70.0030.00617.12
7.1.60.0080.00317.30
7.1.50.0100.01416.84
7.1.00.0030.06722.51
7.0.200.0040.00416.76
7.0.140.0030.07722.04
7.0.110.0030.06320.00
7.0.100.0100.05020.12
7.0.90.0130.04319.94
7.0.80.0030.04019.92
7.0.70.0000.04319.94
7.0.60.0000.07019.98
7.0.50.0030.04019.88
7.0.40.0000.04019.89
7.0.30.0070.06319.78
7.0.20.0000.04319.71
7.0.10.0030.04719.81
7.0.00.0000.04019.67
5.6.280.0070.07021.02
5.6.260.0030.05320.65
5.6.250.0070.04020.61
5.6.240.0030.05020.85
5.6.230.0000.04320.68
5.6.220.0030.04020.66
5.6.210.0070.04320.53
5.6.200.0000.04320.61
5.6.190.0070.04020.64
5.6.180.0030.04320.56
5.6.170.0100.05020.46
5.6.160.0000.04720.69
5.6.150.0030.05320.64
5.6.140.0030.04020.60
5.6.130.0100.03720.63
5.6.120.0030.04020.63
5.6.110.0070.07020.60
5.6.100.0000.04020.78
5.6.90.0000.08320.54
5.6.80.0030.03720.05
5.6.70.0070.03720.05
5.6.60.0030.04020.02
5.6.50.0070.05720.08
5.6.40.0000.04020.00
5.6.30.0130.03319.83
5.6.20.0070.07020.05
5.6.10.0130.06319.97
5.6.00.0200.06720.00
5.5.380.0000.04320.36
5.5.370.0000.04320.34
5.5.360.0000.04720.57
5.5.350.0100.05020.42
5.5.340.0100.03320.74
5.5.330.0030.04020.93
5.5.320.0030.06320.77
5.5.310.0100.03720.89
5.5.300.0030.04320.86
5.5.290.0000.04720.96
5.5.280.0070.04720.97
5.5.270.0000.04720.76
5.5.260.0000.06320.79
5.5.250.0070.04320.61
5.5.240.0070.03320.26
5.5.230.0130.02720.15
5.5.220.0030.04020.26
5.5.210.0070.03720.23
5.5.200.0100.06020.04
5.5.190.0000.04320.14
5.5.180.0070.07720.09
5.5.160.0170.07020.07
5.5.150.0070.08020.20
5.5.140.0070.08020.07
5.5.130.0030.04720.30
5.5.120.0070.07720.08
5.5.110.0070.10020.17
5.5.100.0130.07320.25
5.5.90.0000.05320.18
5.5.80.0070.06720.13
5.5.70.0100.07320.08
5.5.60.0030.08720.02
5.5.50.0100.07320.11
5.5.40.0130.07020.22
5.5.30.0100.07320.12
5.5.20.0070.07720.10
5.5.10.0070.06320.16
5.5.00.0070.07320.00
5.4.450.0030.04319.26
5.4.440.0030.05019.43
5.4.430.0000.04019.27
5.4.420.0000.04719.59
5.4.410.0030.08019.12
5.4.400.0000.04019.18
5.4.390.0100.03319.08
5.4.380.0030.04319.12
5.4.370.0100.03019.18
5.4.360.0000.08719.27
5.4.350.0030.03319.18
5.4.340.0070.08018.95
5.4.320.0130.07318.95
5.4.310.0100.06718.95
5.4.300.0100.07319.08
5.4.290.0030.04019.07
5.4.280.0100.07319.24
5.4.270.0130.07319.03
5.4.260.0070.08019.09
5.4.250.0070.07018.94
5.4.240.0030.07319.04
5.4.230.0030.05319.04
5.4.220.0100.06319.11
5.4.210.0200.06718.95
5.4.200.0100.07318.94
5.4.190.0070.06319.03
5.4.180.0100.07018.91
5.4.170.0100.08019.11
5.4.160.0130.07019.09
5.4.150.0030.08019.14
5.4.140.0030.07316.59
5.4.130.0130.03316.48
5.4.120.0070.07016.46
5.4.110.0070.05316.36
5.4.100.0070.08016.23
5.4.90.0130.06716.36
5.4.80.0070.04016.28
5.4.70.0130.03016.22
5.4.60.0100.07316.11
5.4.50.0000.08316.33
5.4.40.0170.06016.53
5.4.30.0030.05016.25
5.4.20.0100.07016.34
5.4.10.0030.07716.24
5.4.00.0070.04015.67
5.3.290.0070.07714.74
5.3.280.0130.04014.66
5.3.270.0070.07314.45
5.3.260.0130.07314.51
5.3.250.0000.06314.63
5.3.240.0100.05714.44
5.3.230.0130.07014.44
5.3.220.0130.06714.51
5.3.210.0070.08014.44
5.3.200.0070.07014.63
5.3.190.0100.07014.39
5.3.180.0100.07014.44
5.3.170.0070.07714.62
5.3.160.0170.05714.49
5.3.150.0030.07314.66
5.3.140.0100.07314.42
5.3.130.0070.07314.56
5.3.120.0070.06714.37
5.3.110.0100.07314.54
5.3.100.0030.07714.11
5.3.90.0030.08313.96
5.3.80.0100.07013.95
5.3.70.0030.07014.09
5.3.60.0070.04713.82
5.3.50.0030.03713.89
5.3.40.0200.06313.84
5.3.30.0200.06713.96
5.3.20.0070.04313.62
5.3.10.0130.06713.51
5.3.00.0030.07713.42
5.2.170.0070.06312.00
5.2.160.0070.06012.00
5.2.150.0030.05712.00
5.2.140.0030.03712.00
5.2.130.0100.05312.00
5.2.120.0030.06312.00
5.2.110.0070.05012.00
5.2.100.0000.06712.00
5.2.90.0070.06012.00
5.2.80.0030.05312.00
5.2.70.0030.06312.00
5.2.60.0100.05312.00
5.2.50.0000.06712.00
5.2.40.0000.06712.00
5.2.30.0070.04012.00
5.2.20.0070.05312.00
5.2.10.0100.05312.00
5.2.00.0000.06312.00
5.1.60.0000.05712.00
5.1.50.0030.05712.00
5.1.40.0030.05012.00
5.1.30.0070.03712.00
5.1.20.0070.05312.00
5.1.10.0030.04012.00
5.1.00.0130.04012.00
5.0.50.0000.04712.00
5.0.40.0100.03312.00
5.0.30.0030.05712.00
5.0.20.0070.04012.00
5.0.10.0030.04712.00
5.0.00.0000.03712.00
4.4.90.0030.03312.00
4.4.80.0030.01712.00
4.4.70.0070.02712.00
4.4.60.0070.02012.00
4.4.50.0030.03712.00
4.4.40.0000.03712.00
4.4.30.0030.03712.00
4.4.20.0030.03312.00
4.4.10.0030.03312.00
4.4.00.0030.03712.00
4.3.110.0070.02712.00
4.3.100.0000.03012.00
4.3.90.0030.03312.00
4.3.80.0030.05312.00
4.3.70.0030.02712.00
4.3.60.0070.03312.00
4.3.50.0030.03012.00
4.3.40.0000.04012.00
4.3.30.0030.03312.00
4.3.20.0000.03712.00
4.3.10.0030.03312.00
4.3.00.0030.02712.00

preferences:
46.95 ms | 401 KiB | 5 Q