3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "(联想 OR 戴尔 OR 苹果 OR 宏基) dangers:deep1条 dangers:(newuuid deep1条 FirstTimeImageRule) 价格_i:[1500 TO 2500] cityEnglishName:beijing categoryEnglishName:bijiben"; preg_match_all('/(([a-zA-Z]+)\s*\:\s*\(([^\)]+)\))?/', $str, $m); var_dump($m);

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.0160.00916.74
8.3.50.0170.00521.96
8.3.40.0160.00318.79
8.3.30.0070.01118.95
8.3.20.0100.00020.22
8.3.10.0090.00023.66
8.3.00.0060.00320.90
8.2.180.0220.00016.50
8.2.170.0110.00822.96
8.2.160.0060.01220.25
8.2.150.0070.00324.18
8.2.140.0140.00724.66
8.2.130.0100.00026.16
8.2.120.0070.00320.85
8.2.110.0120.00619.45
8.2.100.0110.00417.91
8.2.90.0030.00619.05
8.2.80.0090.00017.97
8.2.70.0030.00617.75
8.2.60.0040.00717.80
8.2.50.0070.00318.07
8.2.40.0100.00020.01
8.2.30.0040.00418.23
8.2.20.0030.00617.72
8.2.10.0000.00818.02
8.2.00.0090.00017.75
8.1.280.0160.00625.92
8.1.270.0030.00723.96
8.1.260.0090.00026.35
8.1.250.0050.00528.09
8.1.240.0080.00422.30
8.1.230.0100.00319.13
8.1.220.0090.00017.76
8.1.210.0000.00918.77
8.1.200.0100.00017.48
8.1.190.0040.00417.35
8.1.180.0000.00918.10
8.1.170.0070.00718.64
8.1.160.0040.00721.94
8.1.150.0060.00318.71
8.1.140.0030.00617.54
8.1.130.0040.00717.89
8.1.120.0060.00317.66
8.1.110.0040.00417.55
8.1.100.0040.00417.50
8.1.90.0100.00017.59
8.1.80.0050.00517.54
8.1.70.0090.00017.50
8.1.60.0030.00617.60
8.1.50.0070.00317.53
8.1.40.0060.00317.67
8.1.30.0000.01017.70
8.1.20.0070.00317.69
8.1.10.0060.00317.56
8.1.00.0030.01017.53
8.0.300.0070.00418.77
8.0.290.0040.00417.00
8.0.280.0040.00418.44
8.0.270.0050.00416.94
8.0.260.0040.00417.10
8.0.250.0060.00317.16
8.0.240.0030.00617.15
8.0.230.0030.00717.15
8.0.220.0000.00817.07
8.0.210.0050.00316.99
8.0.200.0040.00417.10
8.0.190.0060.00317.03
8.0.180.0030.00617.11
8.0.170.0030.00617.15
8.0.160.0060.00317.08
8.0.150.0040.00417.02
8.0.140.0000.00817.10
8.0.130.0070.00013.46
8.0.120.0000.00917.02
8.0.110.0030.00617.08
8.0.100.0060.00317.02
8.0.90.0040.00416.95
8.0.80.0060.01417.06
8.0.70.0090.00016.90
8.0.60.0080.00017.20
8.0.50.0000.00817.02
8.0.30.0180.01217.10
8.0.20.0130.01517.40
8.0.10.0040.00417.02
8.0.00.0120.01816.90
7.4.330.0050.00215.00
7.4.320.0000.00816.61
7.4.300.0030.00516.84
7.4.290.0060.00316.60
7.4.280.0040.00416.73
7.4.270.0000.00816.70
7.4.260.0050.00516.67
7.4.250.0000.00916.76
7.4.240.0020.00616.70
7.4.230.0000.00816.79
7.4.220.0110.01116.65
7.4.210.0160.01016.77
7.4.200.0030.00716.77
7.4.160.0130.01316.59
7.4.150.0150.01217.40
7.4.140.0190.00817.86
7.4.130.0050.02016.70
7.4.120.0130.01216.56
7.4.110.0240.00816.68
7.4.100.0240.00616.64
7.4.90.0160.00916.78
7.4.80.0180.00919.39
7.4.70.0190.00616.66
7.4.60.0140.01016.62
7.4.50.0000.00916.56
7.4.40.0240.00016.73
7.4.30.0160.00816.65
7.4.00.0060.00614.70
7.3.330.0070.00013.32
7.3.320.0050.00313.09
7.3.310.0000.00816.27
7.3.300.0050.00316.29
7.3.290.0000.01816.36
7.3.280.0110.01216.40
7.3.270.0130.01217.40
7.3.260.0150.01516.36
7.3.250.0160.01116.30
7.3.240.0130.01316.38
7.3.230.0150.01216.63
7.3.210.0220.00616.57
7.3.200.0250.00619.39
7.3.190.0130.01416.30
7.3.180.0150.00716.52
7.3.170.0030.01916.42
7.3.160.0100.01316.63
7.3.120.0060.01215.17
7.3.10.0080.01116.53
7.3.00.0120.00316.84
7.2.330.0220.00716.62
7.2.320.0030.02416.53
7.2.310.0090.01516.66
7.2.300.0110.01116.65
7.2.290.0150.00916.54
7.2.130.0100.00716.71
7.2.120.0080.00816.83
7.2.110.0070.01116.96
7.2.100.0070.00716.66
7.2.90.0120.00617.04
7.2.80.0070.01116.83
7.2.70.0090.00916.99
7.2.60.0000.01616.98
7.2.50.0140.00316.89
7.2.40.0130.00717.11
7.2.30.0030.01016.89
7.2.20.0070.01016.98
7.2.10.0030.01716.91
7.2.00.0040.01218.16
7.1.250.0030.01216.01
7.1.100.0090.00418.04
7.1.70.0070.01017.05
7.1.60.0110.01819.70
7.1.50.0120.00917.25
7.1.00.0170.06322.37
7.0.200.0080.00016.87
7.0.140.0100.06721.92
7.0.60.0100.07720.10
7.0.50.0130.07717.86
7.0.40.0100.07320.26
7.0.30.0300.05320.15
7.0.20.0200.08720.23
7.0.10.0170.03320.14
7.0.00.0170.04020.31
5.6.280.0130.06721.00
5.6.210.0130.06720.76
5.6.200.0100.04718.20
5.6.190.0100.09020.43
5.6.180.0270.07720.45
5.6.170.0270.05320.49
5.6.160.0030.05020.40
5.6.150.0000.04718.22
5.6.140.0030.05718.17
5.6.130.0130.04718.19
5.6.120.0070.04021.18
5.6.110.0030.04020.92
5.6.100.0100.06021.00
5.6.90.0130.07321.03
5.6.80.0100.08020.43
5.6.70.2330.04020.41
5.5.350.0230.02720.47
5.5.340.0000.04717.95
5.5.330.0070.06020.57
5.5.320.0270.08020.21
5.5.310.0270.04720.19
5.5.300.0070.08017.97
5.5.290.0070.05018.00
5.5.280.0130.05321.01
5.5.270.0130.08020.80
5.5.260.0030.07320.99
5.5.250.0130.08320.64
5.5.240.0200.07020.26
5.4.450.2730.04319.49
5.4.440.3230.04019.11
5.4.430.3230.04319.13
5.4.420.3630.03719.13
5.4.410.3270.04019.45
5.4.400.3370.04019.10
5.4.390.3370.04019.10
5.4.380.3400.04019.13
5.4.370.3430.03318.93
5.4.360.3230.03719.24
5.4.350.3430.03018.99
5.4.340.3130.04019.26
5.4.320.2930.03718.93
5.4.310.3030.03319.21
5.4.300.3430.04018.93
5.4.290.3270.04018.93
5.4.280.3030.03718.91
5.4.270.3270.03319.14
5.4.260.3000.03719.06
5.4.250.3100.04019.12
5.4.240.2900.04719.05
5.4.230.3300.04018.91
5.4.220.3300.04318.78
5.4.210.3330.03718.78
5.4.200.3430.03319.24
5.4.190.3430.04319.23
5.4.180.3070.04018.79
5.4.170.3330.03319.05
5.4.160.3370.03719.22
5.4.150.3270.04318.90
5.4.140.3330.03016.37
5.4.130.3300.03716.50
5.4.120.3530.04316.49
5.4.110.3430.04016.36
5.4.100.4200.02316.28
5.4.90.3300.04016.46
5.4.80.3400.03316.38
5.4.70.3170.03016.26
5.4.60.3130.03316.43
5.4.50.3100.03016.41
5.4.40.3030.03316.45
5.4.30.3070.03316.48
5.4.20.0030.03716.45
5.4.10.1530.03716.23
5.4.00.3070.03715.72
5.3.290.4070.03014.78
5.3.280.3370.03714.64
5.3.270.3370.03314.53
5.3.260.3070.03714.64
5.3.250.3300.04014.64
5.3.240.3000.04014.74
5.3.230.3330.03714.71
5.3.220.3230.04014.60
5.3.210.3330.03014.51
5.3.200.3070.03714.54
5.3.190.3300.03714.52
5.3.180.3130.03014.63
5.3.170.3100.03314.48
5.3.160.3070.03314.63
5.3.150.2870.03014.50
5.3.140.3600.04714.50
5.3.130.2830.04014.50
5.3.120.0070.03314.50
5.3.110.0000.04014.50
5.3.100.2870.03313.98
5.3.90.3300.04013.95
5.3.80.2770.04013.94
5.3.70.2970.03713.98
5.3.60.3430.05014.00
5.3.50.3300.04014.02
5.3.40.3300.04013.97
5.3.30.3000.03313.95
5.3.20.3430.02713.62
5.3.10.3370.03313.68
5.3.00.3300.03713.82
5.2.170.2800.03311.05
5.2.160.2830.02711.09
5.2.150.2670.03011.32
5.2.140.2830.02711.40
5.2.130.2730.03311.10
5.2.120.2800.03311.34
5.2.110.2730.03011.02
5.2.100.2900.03711.03
5.2.90.2470.03311.05
5.2.80.2670.02711.02
5.2.70.2530.02711.03
5.2.60.3130.02310.97
5.2.50.0100.05711.14
5.2.40.0200.04711.18
5.2.30.0030.05711.11
5.2.20.0100.05710.96
5.2.10.2270.03311.04
5.2.00.2330.02710.92
5.1.60.2330.03010.92
5.1.50.2430.02010.92
5.1.40.2800.01710.92
5.1.30.2370.03010.92
5.1.20.2770.01710.92
5.1.10.2600.03010.92
5.1.00.2730.01710.92
5.0.50.1200.02310.92
5.0.40.1500.02310.92
5.0.30.1270.02710.92
5.0.20.1430.01710.92
5.0.10.1230.02310.92
5.0.00.1270.03010.92
4.4.90.1170.01710.92
4.4.80.0030.02710.92
4.4.70.0000.04010.92
4.4.60.1200.01710.92
4.4.50.1100.01710.92
4.4.40.1270.03010.92
4.4.30.1470.01710.92
4.4.20.1470.02310.92
4.4.10.1470.02010.92
4.4.00.1470.02710.92
4.3.110.1430.01710.92
4.3.100.1530.01310.92
4.3.90.1230.01310.92
4.3.80.1530.03310.92
4.3.70.1400.02010.92
4.3.60.1200.01710.92
4.3.50.1300.02010.92
4.3.40.1070.02010.92
4.3.30.0500.01710.92
4.3.20.0630.02010.92
4.3.10.0470.02010.92
4.3.00.0630.02710.92

preferences:
42.22 ms | 401 KiB | 5 Q