3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = <<<REGEX / (?:\A|\n)\s* (?: (?:(@[\pL-_\]+))| (?: (?:(@author)\ +([^<]+)(?:(\<)(.+?)(\>))?)| (@api)| (@category\ +([^ ]+))| (@copyright)| (@deprecated)| (@example\ +([^ ]+))| (@filesource)| (@global\ +([^ ]+))| (@ignore)| (@internal)| (@license\ +([^ ]+))| (?:(@link)\ +([^ ]+))| (@method)| (@package\ +([^ ]+))| (@param\ +([^ ]+)\ +([^ ]+))| (@property\ +([^ ]+)\ +([^ ]+))| (@property-read\ +([^ ]+)\ +([^ ]+))| (@property-write\ +([^ ]+)\ +([^ ]+))| (@return\ +([^ ]+))| (?:(@see)\ +([^ ]+))| (@since\ +([^ ]+))| (@source)| (@subpackage\ +([^ ]+))| (@throws\ +([^ ]+))| (@todo)| (@uses\ +([^ ]+))| (@var\ +([^ ]+))| (@version\ +([^ ]+))| (@[\pL-_]+) ) \ + (?s:(.*?)) ) (?=\n\s*@|\Z) /ux REGEX; $comment = <<<COMMENT @ORM\Type(name="") @see MyTag this is a @description that spans multiple lines @internal @author Mike van Riel <me@mikevanriel.com> COMMENT; var_dump(preg_match_all($regex, $comment, $matches, PREG_SET_ORDER)); 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.0120.00318.55
8.3.50.0080.01221.94
8.3.40.0070.00718.64
8.3.30.0110.00418.95
8.3.20.0050.00320.25
8.3.10.0040.00420.52
8.3.00.0050.00319.38
8.2.180.0090.00618.36
8.2.170.0090.00622.96
8.2.160.0100.00320.38
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0090.00022.24
8.2.110.0000.00922.11
8.2.100.0090.00319.38
8.2.90.0060.00319.03
8.2.80.0000.00917.97
8.2.70.0040.00417.47
8.2.60.0050.00317.92
8.2.50.0040.00418.07
8.2.40.0060.00318.09
8.2.30.0000.00718.04
8.2.20.0000.00717.72
8.2.10.0040.00418.04
8.2.00.0040.00417.71
8.1.280.0100.01025.92
8.1.270.0060.00322.19
8.1.260.0050.00326.35
8.1.250.0090.00028.09
8.1.240.0090.00023.96
8.1.230.0100.00019.04
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0050.00317.23
8.1.180.0060.00318.10
8.1.170.0080.00018.65
8.1.160.0040.00421.95
8.1.150.0000.00718.90
8.1.140.0000.00817.43
8.1.130.0000.00717.74
8.1.120.0030.00317.43
8.1.110.0040.00417.42
8.1.100.0030.00317.39
8.1.90.0040.00417.31
8.1.80.0000.00817.32
8.1.70.0000.00717.39
8.1.60.0040.00417.56
8.1.50.0040.00417.56
8.1.40.0040.00417.52
8.1.30.0060.00317.48
8.1.20.0040.00417.48
8.1.10.0030.00717.45
8.1.00.0000.00717.36
8.0.300.0070.00018.77
8.0.290.0050.00316.63
8.0.280.0030.00318.41
8.0.270.0030.00317.21
8.0.260.0030.00317.30
8.0.250.0040.00417.00
8.0.240.0000.00617.02
8.0.230.0030.00316.85
8.0.220.0030.00316.94
8.0.210.0030.00516.99
8.0.200.0040.00416.95
8.0.190.0060.00617.03
8.0.180.0030.00516.97
8.0.170.0030.00616.94
8.0.160.0030.00316.98
8.0.150.0070.00016.85
8.0.140.0070.00316.78
8.0.130.0050.00013.34
8.0.120.0060.00316.88
8.0.110.0040.00416.92
8.0.100.0070.00016.91
8.0.90.0040.00416.97
8.0.80.0090.01216.91
8.0.70.0040.00416.79
8.0.60.0000.00716.78
8.0.50.0050.00216.93
8.0.30.0100.01417.27
8.0.20.0110.01117.40
8.0.10.0080.00016.94
8.0.00.0100.00716.96
7.4.330.0000.00515.00
7.4.320.0030.00316.49
7.4.300.0000.00616.55
7.4.290.0000.00716.53
7.4.280.0040.00416.49
7.4.270.0070.00016.58
7.4.260.0030.00616.49
7.4.250.0040.00416.52
7.4.240.0040.00316.64
7.4.230.0000.00716.29
7.4.220.0080.01216.66
7.4.210.0070.00716.63
7.4.200.0000.00716.38
7.4.160.0100.00716.54
7.4.150.0110.00617.40
7.4.140.0080.00817.86
7.4.130.0110.00816.55
7.4.120.0090.00816.65
7.4.110.0080.00816.54
7.4.100.0100.00716.46
7.4.90.0000.01616.53
7.4.80.0070.01119.39
7.4.70.0100.00616.64
7.4.60.0060.01216.77
7.4.50.0030.00616.36
7.4.40.0140.00416.32
7.4.30.0030.01316.48
7.4.00.0100.00715.04
7.3.330.0020.00213.02
7.3.320.0000.00512.95
7.3.310.0000.00716.42
7.3.300.0000.00716.13
7.3.290.0030.01416.30
7.3.280.0070.01116.26
7.3.270.0120.00617.40
7.3.260.0140.00316.48
7.3.250.0090.00816.39
7.3.240.0170.00016.23
7.3.230.0130.00416.50
7.3.210.0030.01516.31
7.3.200.0130.00919.39
7.3.190.0000.01716.71
7.3.180.0060.01016.20
7.3.170.0150.00616.27
7.3.160.0130.00316.17
7.3.120.0100.00314.51
7.3.110.0100.00614.75
7.3.100.0120.00314.75
7.3.90.0100.00714.66
7.3.80.0040.01114.77
7.3.70.0000.00914.61
7.3.60.0030.01214.79
7.3.50.0090.00614.63
7.3.40.0110.00414.42
7.3.30.0100.00314.52
7.3.20.0030.01016.38
7.3.10.0030.01316.56
7.3.00.0030.01316.61
7.2.330.0090.00916.66
7.2.320.0120.00616.59
7.2.310.0030.01516.54
7.2.300.0060.01216.50
7.2.290.0140.00916.50
7.2.250.0060.01014.88
7.2.240.0030.01714.68
7.2.230.0050.01414.95
7.2.220.0060.00614.94
7.2.210.0000.01614.46
7.2.200.0030.01014.88
7.2.190.0070.00714.94
7.2.180.0060.00914.70
7.2.170.0030.01014.79
7.2.00.0000.00919.52
7.1.330.0110.00415.79
7.1.320.0030.00615.80
7.1.310.0080.00815.84
7.1.300.0000.01415.63
7.1.290.0000.01315.46
7.1.280.0070.00715.86
7.1.270.0100.00615.74
7.1.260.0040.01115.80
7.1.100.0030.00718.25
7.1.70.0060.00917.22
7.1.60.0100.01619.32
7.1.50.0330.00916.95
7.1.00.0070.07322.54
7.0.200.0000.00716.38
7.0.140.0130.06322.01
7.0.60.0000.04719.98
7.0.50.0170.07717.78
7.0.40.0070.04719.98
7.0.30.0230.05720.16
7.0.20.0130.04720.33
7.0.10.0070.05720.21
7.0.00.0030.05019.99
5.6.280.0000.07721.04
5.6.210.0030.08320.67
5.6.200.0070.08018.08
5.6.190.0100.05720.49
5.6.180.0330.04020.41
5.6.170.0200.04020.66
5.6.160.0100.05020.52
5.6.150.0030.08718.12
5.6.140.0070.07018.10
5.6.130.0130.03718.11
5.6.120.0070.08720.95
5.6.110.0070.06720.95
5.6.100.0070.08321.00
5.6.90.0130.05721.12
5.6.80.0070.03720.50
5.5.350.0200.08020.43
5.5.340.0070.05017.88
5.5.330.0030.05720.57
5.5.320.0430.05720.17
5.5.310.0370.07320.41
5.5.300.0070.08018.01
5.5.290.0030.05317.90
5.5.280.0030.08720.66
5.5.270.0130.07720.78
5.5.260.0070.04320.86
5.5.250.0070.08320.61
5.5.240.0330.06020.26
5.4.450.1270.03719.29
5.4.440.1030.06019.41
5.4.430.0800.05019.59
5.4.420.0670.00019.27
5.4.410.0670.00019.38
5.4.400.0630.00019.38
5.4.390.0630.00018.98
5.4.380.0630.00019.13
5.4.370.0630.00019.08
5.4.360.0600.00019.05
5.4.350.0670.00018.95
5.4.340.0630.00018.95
5.4.320.0060.03812.46
5.4.310.0030.04112.45
5.4.300.0050.03712.46
5.4.290.0020.04912.46
5.4.280.0080.03512.35
5.4.270.0050.04212.36
5.4.260.0090.03812.35
5.4.250.0080.03612.35
5.4.240.0090.04612.36
5.4.230.0080.05012.35
5.4.220.0060.03612.35
5.4.210.0060.03512.34
5.4.200.0060.03712.34
5.4.190.0060.03512.34
5.4.180.0050.03712.34
5.4.170.0050.03612.35
5.4.160.0050.03612.35
5.4.150.0040.03812.34
5.4.140.0070.03612.02
5.4.130.0060.03412.02
5.4.120.0040.03611.97
5.4.110.0030.03711.96
5.4.100.0040.03611.96
5.4.90.0080.03711.96
5.4.80.0090.03811.96
5.4.70.0040.03811.96
5.4.60.0080.03211.96
5.4.50.0060.03411.96
5.4.40.0050.03611.95
5.4.30.0090.03211.95
5.4.20.0070.03511.94
5.4.10.0040.03711.94
5.4.00.0020.03811.44
5.3.290.0090.04012.80
5.3.280.0050.03912.71
5.3.270.0040.04012.72
5.3.260.0040.04312.72
5.3.250.0030.04012.72
5.3.240.0050.03712.72
5.3.230.0040.03812.71
5.3.220.0070.03612.68
5.3.210.0100.03412.68
5.3.200.0040.03812.68
5.3.190.0050.03812.68
5.3.180.0080.04012.67
5.3.170.0120.04412.67
5.3.160.0050.04112.67
5.3.150.0070.03612.67
5.3.140.0040.03812.66
5.3.130.0030.04512.66
5.3.120.0080.03812.65
5.3.110.0030.04612.66
5.3.100.0050.03712.12
5.3.90.0080.03412.08
5.3.80.0060.03512.07
5.3.70.0050.03612.07
5.3.60.0030.03812.06
5.3.50.0070.03412.00
5.3.40.0040.03712.00
5.3.30.0060.03511.96
5.3.20.0060.03411.75
5.3.10.0040.03611.71
5.3.00.0050.03611.70
5.2.170.0050.0299.20
5.2.160.0050.0289.20
5.2.150.0070.0279.20
5.2.140.0040.0319.20
5.2.130.0040.0309.16
5.2.120.0040.0299.16
5.2.110.0040.0299.16
5.2.100.0030.0299.15
5.2.90.0050.0319.16
5.2.80.0110.0259.15
5.2.70.0030.0329.15
5.2.60.0030.0319.11
5.2.50.0060.0289.07
5.2.40.0020.0319.05
5.2.30.0060.0279.02
5.2.20.0030.0299.05
5.2.10.0040.0278.97
5.2.00.0050.0288.83
5.1.60.0010.0278.12
5.1.50.0050.0248.12
5.1.40.0040.0258.10
5.1.30.0030.0298.46
5.1.20.0010.0288.47
5.1.10.0040.0278.19
5.1.00.0040.0258.20
5.0.50.0030.0216.67
5.0.40.0040.0186.52
5.0.30.0020.0326.34
5.0.20.0040.0216.30
5.0.10.0020.0216.28
5.0.00.0030.0306.27
4.4.90.0050.0134.78
4.4.80.0000.0194.75
4.4.70.0020.0154.75
4.4.60.0010.0164.76
4.4.50.0040.0154.77
4.4.40.0030.0244.71
4.4.30.0050.0124.76
4.4.20.0020.0174.85
4.4.10.0030.0154.85
4.4.00.0000.0274.76
4.3.110.0020.0164.67
4.3.100.0020.0164.66
4.3.90.0030.0154.63
4.3.80.0020.0324.58
4.3.70.0030.0204.63
4.3.60.0020.0184.63
4.3.50.0030.0184.63
4.3.40.0040.0284.54
4.3.30.0020.0213.33
4.3.20.0020.0213.30
4.3.10.0020.0173.25
4.3.00.0100.02016.50

preferences:
38.56 ms | 401 KiB | 5 Q