3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<EOD for landline no 0802404408 080-2404408 (080) 2404408 +91802404408 +91-802404408 for mobile no 8147708287 08147708287 +918147708287 +91-8147708287 can anyone help me, thanks in advance EOD; //$pattern = '/\b[\+\(]*?[0-9-]+[\)\s]*?[0-9-]+\b/'; $pattern = '/[\+\(]*?\b[0-9-]+[\)\s]*?[0-9-]+\b/'; preg_match_all($pattern, $str, $matches); var_dump($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.60.0040.01218.43
8.3.50.0070.01022.05
8.3.40.0140.00018.96
8.3.30.0110.00718.61
8.3.20.0040.00419.02
8.3.10.0080.00020.88
8.3.00.0040.00421.79
8.2.180.0060.01216.50
8.2.170.0040.01122.96
8.2.160.0070.00720.44
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0080.00021.00
8.2.110.0050.00520.47
8.2.100.0090.00317.84
8.2.90.0070.00019.17
8.2.80.0040.00417.97
8.2.70.0040.01117.50
8.2.60.0000.00817.90
8.2.50.0030.00718.07
8.2.40.0040.00418.22
8.2.30.0000.00819.52
8.2.20.0030.00517.74
8.2.10.0050.00317.80
8.2.00.0110.00017.79
8.1.280.0070.01025.92
8.1.270.0050.00323.99
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00620.69
8.1.230.0100.00020.96
8.1.220.0000.00918.77
8.1.210.0050.00318.92
8.1.200.0040.00417.25
8.1.190.0040.00417.51
8.1.180.0050.00318.10
8.1.170.0000.00818.60
8.1.160.0040.00418.91
8.1.150.0000.00818.79
8.1.140.0020.00517.51
8.1.130.0000.00717.89
8.1.120.0070.00017.45
8.1.110.0040.00417.61
8.1.100.0000.00717.59
8.1.90.0040.00417.46
8.1.80.0000.00817.44
8.1.70.0030.00317.49
8.1.60.0000.00817.71
8.1.50.0060.00317.40
8.1.40.0060.00317.61
8.1.30.0000.00917.77
8.1.20.0030.00517.76
8.1.10.0090.00017.59
8.1.00.0000.00817.64
8.0.300.0000.00919.98
8.0.290.0000.00817.16
8.0.280.0040.00418.44
8.0.270.0000.00717.21
8.0.260.0080.00016.96
8.0.250.0080.00016.99
8.0.240.0030.00617.00
8.0.230.0070.00017.09
8.0.220.0000.00717.11
8.0.210.0050.00317.07
8.0.200.0060.00017.07
8.0.190.0030.00517.14
8.0.180.0000.00717.03
8.0.170.0050.00316.93
8.0.160.0050.00317.09
8.0.150.0040.00416.90
8.0.140.0070.00016.86
8.0.130.0000.00613.47
8.0.120.0000.00716.94
8.0.110.0030.00717.08
8.0.100.0040.00417.21
8.0.90.0050.00317.15
8.0.80.0090.00616.98
8.0.70.0040.00417.13
8.0.60.0000.00817.14
8.0.50.0000.00717.20
8.0.30.0150.00417.16
8.0.20.0100.00917.40
8.0.10.0040.00417.12
8.0.00.0050.01316.96
7.4.330.0030.00316.73
7.4.320.0000.00816.84
7.4.300.0000.00616.80
7.4.290.0030.00516.72
7.4.280.0070.00016.71
7.4.270.0060.00016.72
7.4.260.0030.00313.43
7.4.250.0040.00416.78
7.4.240.0080.00016.58
7.4.230.0030.00516.55
7.4.220.0030.01516.78
7.4.210.0090.00516.86
7.4.200.0030.00316.63
7.4.190.0070.00016.79
7.4.160.0030.01716.65
7.4.150.0080.00917.40
7.4.140.0120.00617.86
7.4.130.0100.01016.64
7.4.120.0130.00816.66
7.4.110.0120.00616.74
7.4.100.0070.01016.70
7.4.90.0130.01016.68
7.4.80.0080.00819.39
7.4.70.0030.01716.71
7.4.60.0080.01516.45
7.4.50.0030.00616.56
7.4.40.0080.00522.77
7.4.30.0110.00616.50
7.4.00.0030.01214.88
7.3.330.0070.00013.25
7.3.320.0000.00613.07
7.3.310.0000.00716.32
7.3.300.0020.00416.23
7.3.290.0110.00316.30
7.3.280.0080.00916.41
7.3.270.0110.00917.40
7.3.260.0090.01318.24
7.3.250.0110.00716.56
7.3.240.0120.00616.54
7.3.230.0060.01116.56
7.3.210.0070.01016.44
7.3.200.0140.00419.39
7.3.190.0080.00816.39
7.3.180.0060.01016.31
7.3.170.0210.00316.42
7.3.160.0130.00316.51
7.3.120.0030.01314.98
7.2.330.0090.00916.51
7.2.320.0060.01216.55
7.2.310.0130.00716.82
7.2.300.0110.00616.66
7.2.290.0040.01916.37
7.2.00.0100.00719.43
7.1.100.0060.00618.28
7.1.70.0110.00717.22
7.1.60.0030.01319.40
7.1.50.0000.01217.19
7.1.00.0000.04322.32
7.0.200.0030.01316.68
7.0.140.0030.07322.00
7.0.70.4330.02720.09
7.0.60.4100.04020.03
7.0.50.4900.03720.18
7.0.40.4270.04720.13
7.0.30.4100.03720.09
7.0.20.3930.04720.09
7.0.10.4300.04020.07
7.0.00.3470.04020.00
5.6.280.0030.07320.92
5.6.210.3370.03320.70
5.6.200.3730.04321.12
5.6.190.4170.04321.03
5.6.180.3070.03720.96
5.6.170.3830.04021.11
5.6.160.4000.04321.11
5.6.150.4030.03721.11
5.6.140.3530.03321.04
5.6.130.4300.03720.97
5.6.120.4330.04321.01
5.6.110.4400.03721.06
5.6.100.4030.04720.96
5.6.90.4630.04020.98
5.6.80.4170.04020.44
5.6.70.4130.05320.51
5.6.60.3230.04320.40
5.6.50.3430.04020.38
5.6.40.4530.03320.36
5.6.30.4070.03720.32
5.6.20.4230.03720.46
5.6.10.4230.04020.43
5.6.00.3870.04720.36
5.5.350.3970.04020.40
5.5.340.4300.04320.91
5.5.330.3770.04320.85
5.5.320.3500.03320.80
5.5.310.4330.03720.72
5.5.300.3900.04320.89
5.5.290.4130.04720.77
5.5.280.3430.04320.75
5.5.270.4200.03720.91
5.5.260.4300.04320.76
5.5.250.3830.03720.60
5.5.240.4270.04720.11
5.5.230.4170.03720.24
5.5.220.3730.04720.10
5.5.210.3170.03020.13
5.5.200.4200.04020.27
5.5.190.4370.03720.11
5.5.180.4000.04720.10
5.5.160.4370.03720.20
5.5.150.4170.04020.10
5.5.140.4370.03720.07
5.5.130.4230.04320.20
5.5.120.4300.03720.26
5.5.110.4200.03320.24
5.5.100.4270.04020.10
5.5.90.4230.04020.06
5.5.80.4300.03719.91
5.5.70.4130.03719.99
5.5.60.3930.04020.09
5.5.50.3230.02720.05
5.5.40.3200.03320.09
5.5.30.3530.03020.04
5.5.20.3200.04020.13
5.5.10.3600.03320.10
5.5.00.3100.03719.95
5.4.450.3970.03319.35
5.4.440.4200.04319.37
5.4.430.4270.03719.10
5.4.420.4170.04319.38
5.4.410.3800.03019.01
5.4.400.4270.04318.90
5.4.390.4100.04319.13
5.4.380.3530.04018.81
5.4.370.3670.03319.07
5.4.360.3970.04318.98
5.4.350.4270.04019.07
5.4.340.4430.03718.98
5.4.320.3800.03019.13
5.4.310.3870.04718.81
5.4.300.4270.03718.96
5.4.290.4170.04019.09
5.4.280.4300.04319.11
5.4.270.4170.03319.05
5.4.260.4270.04318.80
5.4.250.3730.04019.13
5.4.240.4270.04019.04
5.4.230.3400.03319.04
5.4.220.3530.04319.05
5.4.210.3400.03019.09
5.4.200.3200.02719.11
5.4.190.3570.04019.05
5.4.180.3370.03719.08
5.4.170.3370.03319.21
5.4.160.3130.03319.09
5.4.150.3130.04319.09
5.4.140.3600.04016.30
5.4.130.3570.02715.99
5.4.120.3600.03316.21
5.4.110.3970.03716.22
5.4.100.4170.03716.40
5.4.90.3870.04316.30
5.4.80.4270.04016.27
5.4.70.4330.03016.39
5.4.60.3970.04016.29
5.4.50.4670.04016.23
5.4.40.4200.03316.33
5.4.30.0070.07316.19
5.4.20.2270.05016.39
5.4.10.4200.03716.18
5.4.00.3730.03715.88
5.3.290.4170.04314.65
5.3.280.3930.04014.45
5.3.270.3100.03314.47
5.3.260.2870.03714.48
5.3.250.3130.02314.56
5.3.240.3200.03014.54
5.3.230.3900.04014.45
5.3.220.4030.04714.55
5.3.210.4170.04014.51
5.3.200.4270.03714.56
5.3.190.4470.02714.55
5.3.180.3700.02714.55
5.3.170.4130.03014.38
5.3.160.4300.03714.42
5.3.150.4200.04014.39
5.3.140.4270.03314.54
5.3.130.0070.08014.37
5.3.120.0100.07314.40
5.3.110.4030.03714.41
5.3.100.4300.04314.02
5.3.90.3770.03713.87
5.3.80.4300.03313.77
5.3.70.4200.04013.97
5.3.60.4270.03713.95
5.3.50.3400.03313.86
5.3.40.4000.03713.81
5.3.30.4170.03713.76
5.3.20.4230.04013.67
5.3.10.4170.03313.59
5.3.00.4170.03013.58
5.2.170.3330.03311.18
5.2.160.3570.02310.98
5.2.150.3670.03010.97
5.2.140.3700.02711.13
5.2.130.3600.03011.14
5.2.120.3700.02711.08
5.2.110.3600.03011.07
5.2.100.3530.02311.12
5.2.90.3600.03310.92
5.2.80.3270.03010.93
5.2.70.3670.02311.02
5.2.60.3170.02311.00
5.2.50.3430.03010.86
5.2.40.2900.02710.82
5.2.30.2830.03310.98
5.2.20.2870.02710.81
5.2.10.2970.02310.89
5.2.00.2930.02710.77
5.1.60.3170.0209.98
5.1.50.2770.02010.03
5.1.40.2570.02310.01
5.1.30.2830.02010.34
5.1.20.2830.03010.38
5.1.10.2630.02710.09
5.1.00.2570.02310.07
5.0.50.1030.0238.54
5.0.40.1670.0238.45
5.0.30.1400.0238.26
5.0.20.1630.0178.31
5.0.10.1330.0178.16
5.0.00.1670.0308.25
4.4.90.1670.0205.87
4.4.80.1600.0135.74
4.4.70.1530.0135.79
4.4.60.1630.0135.86
4.4.50.1330.0175.86
4.4.40.1030.0275.82
4.4.30.1700.0135.83
4.4.20.1730.0135.85
4.4.10.1670.0135.81
4.4.00.1770.0275.83
4.3.110.1500.0175.76
4.3.100.1430.0135.74
4.3.90.1570.0175.76
4.3.80.1700.0235.74
4.3.70.1630.0175.77
4.3.60.1670.0175.76
4.3.50.1100.0175.74
4.3.40.1600.0235.74
4.3.30.0870.0205.74
4.3.20.0830.0175.74
4.3.10.0870.0235.74
4.3.00.0870.0205.74

preferences:
42.91 ms | 401 KiB | 5 Q