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('/((?<key>[^\:\(\)]+)\s*\:\s*\((?<lval>[^\(\)]+)\))?/', $str, $m); var_dump($m['key'], $m['lval']);

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.0110.00718.48
8.3.50.0150.00521.33
8.3.40.0100.00718.84
8.3.30.0060.00920.34
8.3.20.0090.00020.48
8.3.10.0030.00620.97
8.3.00.0030.00523.61
8.2.180.0140.00416.88
8.2.170.0150.00622.96
8.2.160.0190.00020.52
8.2.150.0090.00024.18
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0060.00321.05
8.2.110.0100.00019.22
8.2.100.0080.00417.97
8.2.90.0060.00318.87
8.2.80.0040.00417.97
8.2.70.0110.00017.63
8.2.60.0040.00418.04
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0040.00419.40
8.2.20.0000.00817.79
8.2.10.0030.00617.91
8.2.00.0030.00617.79
8.1.280.0160.00325.92
8.1.270.0130.00323.99
8.1.260.0060.00326.35
8.1.250.0050.00528.09
8.1.240.0080.00420.74
8.1.230.0040.00821.03
8.1.220.0000.00818.77
8.1.210.0040.00718.88
8.1.200.0030.00617.12
8.1.190.0060.00317.39
8.1.180.0080.00018.10
8.1.170.0090.00018.64
8.1.160.0030.00518.79
8.1.150.0000.00818.67
8.1.140.0040.00417.61
8.1.130.0040.00417.83
8.1.120.0030.00517.58
8.1.110.0040.00417.50
8.1.100.0030.00617.46
8.1.90.0000.00817.55
8.1.80.0030.00617.46
8.1.70.0090.00017.55
8.1.60.0060.00317.59
8.1.50.0030.00517.64
8.1.40.0040.00417.54
8.1.30.0000.00817.68
8.1.20.0040.00417.68
8.1.10.0000.00817.61
8.1.00.0060.00317.57
8.0.300.0000.01019.97
8.0.290.0080.00017.18
8.0.280.0020.00518.43
8.0.270.0060.00317.24
8.0.260.0000.01116.91
8.0.250.0000.00817.00
8.0.240.0030.00517.13
8.0.230.0000.00717.02
8.0.220.0050.00317.05
8.0.210.0040.00417.09
8.0.200.0040.00417.05
8.0.190.0030.00617.06
8.0.180.0040.00417.13
8.0.170.0030.00516.96
8.0.160.0000.00917.10
8.0.150.0090.00017.07
8.0.140.0040.00817.06
8.0.130.0030.00313.50
8.0.120.0040.00417.05
8.0.110.0030.00517.04
8.0.100.0040.00416.97
8.0.90.0000.00816.87
8.0.80.0090.00917.00
8.0.70.0040.00417.11
8.0.60.0030.00517.00
8.0.50.0030.00617.02
8.0.30.0100.01417.21
8.0.20.0120.01217.40
8.0.10.0060.00317.18
8.0.00.0140.01116.91
7.4.330.0030.00314.96
7.4.320.0030.00316.73
7.4.300.0040.00416.79
7.4.290.0040.00416.76
7.4.280.0000.00816.76
7.4.270.0000.00816.65
7.4.260.0060.00013.43
7.4.250.0030.00616.66
7.4.240.0000.00816.75
7.4.230.0040.00416.78
7.4.220.0120.00916.75
7.4.210.0060.01416.67
7.4.200.0080.00016.68
7.4.190.0020.00516.77
7.4.160.0100.01916.64
7.4.150.0100.01017.40
7.4.140.0160.01417.86
7.4.130.0140.01016.82
7.4.120.0120.01016.71
7.4.110.0130.00816.79
7.4.100.0190.00616.80
7.4.90.0180.00616.73
7.4.80.0130.01119.39
7.4.70.0060.01216.71
7.4.60.0170.01216.55
7.4.50.0000.00816.60
7.4.40.0080.01122.77
7.4.30.0110.01116.56
7.4.00.0090.01015.17
7.3.330.0000.00613.18
7.3.320.0030.00313.27
7.3.310.0080.00016.51
7.3.300.0050.00316.43
7.3.290.0100.01016.46
7.3.280.0100.00916.41
7.3.270.0090.01217.40
7.3.260.0150.01018.24
7.3.250.0150.00616.48
7.3.240.0140.00816.68
7.3.230.0130.00716.39
7.3.210.0090.01216.63
7.3.200.0110.01019.39
7.3.190.0150.01116.45
7.3.180.0160.01016.58
7.3.170.0070.01416.60
7.3.160.0160.00616.87
7.3.120.0090.01014.94
7.3.110.0030.01714.76
7.3.100.0040.00814.65
7.3.90.0090.00915.25
7.3.80.0100.00614.89
7.3.70.0040.01414.84
7.3.60.0000.01314.70
7.3.50.0090.00615.02
7.3.40.0150.00315.05
7.3.30.0070.01114.71
7.3.20.0040.00716.65
7.3.10.0110.00716.59
7.3.00.0030.01416.51
7.2.330.0040.01816.76
7.2.320.0140.01416.61
7.2.310.0090.01716.74
7.2.300.0130.01616.63
7.2.290.0070.01416.71
7.2.250.0030.01715.25
7.2.240.0150.00715.30
7.2.230.0120.00615.03
7.2.220.0040.01215.21
7.2.210.0110.01115.16
7.2.200.0090.00314.83
7.2.190.0070.00715.21
7.2.180.0040.01115.15
7.2.170.0000.01615.22
7.2.00.0000.01219.54
7.1.330.0000.01715.74
7.1.320.0070.00715.98
7.1.310.0030.01416.07
7.1.300.0030.01015.88
7.1.290.0110.00415.86
7.1.280.0070.00716.01
7.1.270.0030.00915.70
7.1.260.0140.00315.74
7.1.200.0060.00616.03
7.1.100.0040.01118.32
7.1.70.0100.00717.44
7.1.60.0040.02519.17
7.1.50.0070.01417.18
7.1.00.0100.06322.47
7.0.200.0170.00016.93
7.0.140.0030.07722.15
7.0.60.0100.06319.95
7.0.50.0000.07317.91
7.0.40.0070.05020.42
7.0.30.0100.05020.03
7.0.20.0270.05320.12
7.0.10.0070.08020.20
7.0.00.0170.07320.01
5.6.280.0030.07720.93
5.6.210.0030.08320.54
5.6.200.0030.04018.11
5.6.190.0070.09020.57
5.6.180.0230.05020.41
5.6.170.0200.08320.77
5.6.160.0030.04320.71
5.6.150.0100.04718.19
5.6.140.0070.08018.12
5.6.130.0100.08318.16
5.6.120.0100.04721.11
5.6.110.0170.07321.04
5.6.100.0070.08321.01
5.6.90.0100.08021.00
5.6.80.0130.07320.56
5.5.350.4100.03720.37
5.5.340.0100.04317.92
5.5.330.0070.07320.47
5.5.320.0270.05720.18
5.5.310.0270.07020.55
5.5.300.0100.07717.89
5.5.290.0000.04318.02
5.5.280.0000.05720.91
5.5.270.0130.06320.92
5.5.260.0030.08320.77
5.5.250.0130.04320.73
5.5.240.0230.07320.40
5.4.450.0230.05319.44
5.4.440.0270.06019.41
5.4.430.0300.06719.45
5.4.420.0270.04019.43
5.4.410.0230.06319.28
5.4.400.0230.04019.14
5.4.390.0270.06019.20
5.4.380.0330.04318.93
5.4.370.0230.05719.13
5.4.360.0300.07719.24
5.4.350.0330.06319.09
5.4.340.0300.04319.24
5.4.320.0270.07318.88
5.4.310.0300.07019.24
5.4.300.0270.04718.77
5.4.290.0270.07719.13
5.4.280.0330.04719.24
5.4.270.0470.05319.16
5.4.260.0300.06719.07
5.4.250.0330.04019.08
5.4.240.0300.07019.03
5.4.230.0300.04319.21
5.4.220.0170.04019.13
5.4.210.0270.03019.15
5.4.200.0130.04718.77
5.4.190.0270.07319.08
5.4.180.0300.05719.01
5.4.170.0270.04018.88
5.4.160.0200.04018.86
5.4.150.0230.07719.11
5.4.140.0300.03716.21
5.4.130.0230.04316.49
5.4.120.0300.06316.50
5.4.110.0200.05716.39
5.4.100.0170.05316.53
5.4.90.0170.03316.11
5.4.80.0200.06716.23
5.4.70.0230.05716.29
5.4.60.0300.05716.46
5.4.50.0270.03716.23
5.4.40.0200.05016.48
5.4.30.0170.04316.40
5.4.20.0230.06016.45
5.4.10.0200.07316.08
5.4.00.0230.03715.79
5.3.290.0200.08014.60
5.3.280.0270.03714.61
5.3.270.0200.05014.67
5.3.260.0200.04714.59
5.3.250.0300.07314.64
5.3.240.0330.06714.64
5.3.230.0270.07014.54
5.3.220.0270.04014.74
5.3.210.0230.04714.58
5.3.200.0230.06314.50
5.3.190.0370.05314.61
5.3.180.0230.07314.59
5.3.170.0170.04014.59
5.3.160.0270.07014.60
5.3.150.0230.06014.58
5.3.140.0300.07014.59
5.3.130.0200.04714.49
5.3.120.0170.08314.58
5.3.110.0130.04714.50
5.3.100.0370.06313.97
5.3.90.0200.03313.96
5.3.80.0230.03713.94
5.3.70.0300.06714.05
5.3.60.0330.03713.86
5.3.50.0170.04313.89
5.3.40.0200.04014.02
5.3.30.0200.03713.94
5.3.20.0330.05313.65
5.3.10.0130.04013.61
5.3.00.0130.05313.65
5.2.170.0200.06313.13
5.2.160.0170.02713.13
5.2.150.0270.06013.13
5.2.140.0230.05713.13
5.2.130.0170.04713.13
5.2.120.0170.03013.13
5.2.110.0170.06013.13
5.2.100.0330.03313.13
5.2.90.0330.02713.13
5.2.80.0200.06313.13
5.2.70.0270.03713.13
5.2.60.0170.04013.13
5.2.50.0270.05713.13
5.2.40.0170.03713.13
5.2.30.0170.06013.13
5.2.20.0200.04713.13
5.2.10.0170.04313.13
5.2.00.0270.03713.13
5.1.60.0230.03713.13
5.1.50.0200.02313.13
5.1.40.0170.02713.13
5.1.30.0130.02713.13
5.1.20.0200.02713.13
5.1.10.0200.02013.13
5.1.00.0170.03013.13
5.0.50.0130.04313.13
5.0.40.0100.03313.13
5.0.30.0170.06013.13
5.0.20.0130.04013.13
5.0.10.0100.04713.13
5.0.00.0100.05713.13
4.4.90.0100.02713.13
4.4.80.0100.03713.13
4.4.70.0130.01713.14
4.4.60.0100.02313.15
4.4.50.0070.02013.18
4.4.40.0130.03013.18
4.4.30.0030.02013.18
4.4.20.0070.01313.18
4.4.10.0070.02013.18
4.4.00.0070.03313.19
4.3.110.0170.01713.19
4.3.100.0070.03713.19
4.3.90.0100.02713.20
4.3.80.0130.04313.20
4.3.70.0170.02713.20
4.3.60.0170.03013.20
4.3.50.0100.03013.20
4.3.40.0100.02713.20
4.3.30.0030.03713.20
4.3.20.0030.03713.20
4.3.10.0030.01713.20
4.3.00.0000.03713.20

preferences:
42.03 ms | 401 KiB | 5 Q