3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = <<<REGEX / (?:\A|\n)\s* (?: (?:(@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 @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.0090.00618.31
8.3.50.0130.01021.09
8.3.40.0120.00318.67
8.3.30.0000.01418.93
8.3.20.0040.00420.20
8.3.10.0040.00420.44
8.3.00.0040.00419.38
8.2.180.0120.00318.17
8.2.170.0090.00622.96
8.2.160.0030.01020.52
8.2.150.0000.00924.18
8.2.140.0050.00324.66
8.2.130.0070.00726.16
8.2.120.0040.00422.11
8.2.110.0060.00321.00
8.2.100.0060.00617.91
8.2.90.0030.00519.08
8.2.80.0060.00317.97
8.2.70.0050.00317.50
8.2.60.0100.00017.80
8.2.50.0060.00318.10
8.2.40.0000.00720.59
8.2.30.0000.00818.07
8.2.20.0080.00017.80
8.2.10.0040.00417.88
8.2.00.0000.00817.69
8.1.280.0160.00625.92
8.1.270.0000.00923.78
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0120.00022.04
8.1.230.0090.00321.04
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0090.00017.11
8.1.190.0050.00317.10
8.1.180.0070.00318.10
8.1.170.0000.00818.58
8.1.160.0040.00421.84
8.1.150.0040.00418.78
8.1.140.0030.00617.41
8.1.130.0000.00717.84
8.1.120.0000.00717.41
8.1.110.0000.00717.31
8.1.100.0040.00317.35
8.1.90.0040.00417.29
8.1.80.0070.00017.39
8.1.70.0040.00417.32
8.1.60.0060.00317.48
8.1.50.0000.00817.46
8.1.40.0090.00017.52
8.1.30.0000.00817.54
8.1.20.0040.00417.59
8.1.10.0040.00417.49
8.1.00.0040.00417.53
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0000.00718.40
8.0.270.0030.00317.21
8.0.260.0030.00317.07
8.0.250.0000.00816.84
8.0.240.0000.00617.01
8.0.230.0070.00016.92
8.0.220.0030.00316.86
8.0.210.0070.00016.93
8.0.200.0050.00316.88
8.0.190.0030.00617.02
8.0.180.0000.00716.91
8.0.170.0060.00316.98
8.0.160.0030.00616.84
8.0.150.0050.00316.75
8.0.140.0000.00916.87
8.0.130.0030.00313.35
8.0.120.0040.00416.81
8.0.110.0030.00516.90
8.0.100.0070.00016.74
8.0.90.0040.00416.85
8.0.80.0030.01216.80
8.0.70.0040.00417.01
8.0.60.0040.00416.89
8.0.50.0030.00516.85
8.0.30.0110.00817.07
8.0.20.0150.00717.40
8.0.10.0070.00017.06
8.0.00.0140.00416.58
7.4.330.0050.00015.14
7.4.320.0030.00316.54
7.4.300.0060.00016.56
7.4.290.0030.00316.61
7.4.280.0000.00716.51
7.4.270.0080.00016.57
7.4.260.0000.00816.59
7.4.250.0050.00316.63
7.4.240.0050.00316.52
7.4.230.0030.00616.60
7.4.220.0060.01316.44
7.4.210.0070.00716.59
7.4.200.0000.00816.54
7.4.160.0100.00616.51
7.4.150.0070.01717.40
7.4.140.0100.00817.86
7.4.130.0110.00716.57
7.4.120.0120.00416.49
7.4.110.0060.01316.40
7.4.100.0100.00716.45
7.4.90.0100.00716.68
7.4.80.0050.01519.39
7.4.70.0070.01016.58
7.4.60.0130.00316.74
7.4.50.0040.00016.46
7.4.40.0050.01616.45
7.4.30.0090.00916.43
7.4.00.0000.01714.75
7.3.330.0000.00513.15
7.3.320.0000.00613.10
7.3.310.0070.00016.34
7.3.300.0000.00716.17
7.3.290.0090.00616.37
7.3.280.0080.00816.26
7.3.270.0030.01417.40
7.3.260.0120.00616.68
7.3.250.0090.00716.22
7.3.240.0060.01316.22
7.3.230.0110.00516.59
7.3.210.0100.00616.61
7.3.200.0070.01419.39
7.3.190.0110.00716.14
7.3.180.0030.01316.23
7.3.170.0070.01016.27
7.3.160.0080.00816.59
7.3.10.0150.01016.15
7.3.00.0120.01216.39
7.2.330.0170.00616.63
7.2.320.0090.01216.85
7.2.310.0040.02116.73
7.2.300.0140.00616.57
7.2.290.0140.01116.58
7.2.130.0210.00716.37
7.2.120.0190.01016.34
7.2.110.0120.00816.77
7.2.100.0110.01516.75
7.2.90.0150.00816.67
7.2.80.0080.02016.79
7.2.70.0220.00616.82
7.2.60.0140.01116.53
7.2.50.0170.00716.66
7.2.40.0140.00717.02
7.2.30.0140.00616.61
7.2.20.0040.01216.62
7.2.10.0110.01116.68
7.2.00.0080.01018.17
7.1.250.0150.00616.02
7.1.100.0030.00718.64
7.1.70.0030.00917.42
7.1.60.0150.00919.32
7.1.50.0240.01434.96
7.1.00.0000.07322.54
7.0.200.0030.00716.60
7.0.140.0030.07721.99
7.0.60.0070.07320.16
7.0.50.0100.08018.02
7.0.40.0130.08020.16
7.0.30.0530.06720.19
7.0.20.0170.04020.19
7.0.10.0070.09020.28
7.0.00.0030.09320.23
5.6.280.0130.06721.12
5.6.210.0100.08020.51
5.6.200.0070.05718.24
5.6.190.0130.03720.64
5.6.180.0470.05020.57
5.6.170.0330.07320.71
5.6.160.0100.08020.70
5.6.150.0130.08018.22
5.6.140.0130.04318.21
5.6.130.0070.09018.20
5.6.120.0100.06020.85
5.6.110.0100.07321.05
5.6.100.0200.04021.03
5.6.90.0170.08321.08
5.6.80.0170.07020.49
5.5.350.0170.08720.37
5.5.340.0000.07317.92
5.5.330.0070.04020.28
5.5.320.0230.04020.20
5.5.310.0270.04020.33
5.5.300.0070.06717.98
5.5.290.0070.08317.90
5.5.280.0000.04720.89
5.5.270.0200.07720.89
5.5.260.0070.07320.89
5.5.250.0100.07720.66
5.5.240.0330.06020.28
5.4.450.1230.02719.55
5.4.440.0770.05319.48
5.4.430.1100.05319.56
5.4.420.0770.00019.48
5.4.410.0700.00019.20
5.4.400.0630.00019.38
5.4.390.0630.00018.96
5.4.380.0630.00019.05
5.4.370.0600.00019.16
5.4.360.0670.00019.09
5.4.350.0670.00019.09
5.4.340.0730.00019.10
5.4.320.0050.03812.50
5.4.310.0050.04312.49
5.4.300.0090.03512.49
5.4.290.0060.04012.49
5.4.280.0110.03112.39
5.4.270.0080.03612.39
5.4.260.0120.03412.39
5.4.250.0060.03812.39
5.4.240.0070.03712.39
5.4.230.0070.04012.38
5.4.220.0090.03612.38
5.4.210.0090.04112.38
5.4.200.0120.03512.38
5.4.190.0110.03512.38
5.4.180.0110.03412.38
5.4.170.0070.03912.39
5.4.160.0110.03912.38
5.4.150.0060.03812.38
5.4.140.0090.03712.06
5.4.130.0070.03612.05
5.4.120.0070.03712.01
5.4.110.0040.03812.01
5.4.100.0050.03712.01
5.4.90.0090.03512.01
5.4.80.0080.03612.01
5.4.70.0070.03412.00
5.4.60.0090.03512.00
5.4.50.0070.03612.00
5.4.40.0080.03911.99
5.4.30.0050.03811.99
5.4.20.0110.03211.98
5.4.10.0070.03711.98
5.4.00.0090.03311.47
5.3.290.0050.04112.80
5.3.280.0120.03612.70
5.3.270.0090.03812.72
5.3.260.0070.04212.72
5.3.250.0060.03912.71
5.3.240.0060.03812.72
5.3.230.0070.03912.71
5.3.220.0070.03912.68
5.3.210.0080.04012.68
5.3.200.0070.04812.68
5.3.190.0100.03712.68
5.3.180.0050.04012.68
5.3.170.0080.03912.67
5.3.160.0080.05712.67
5.3.150.0090.03712.68
5.3.140.0050.04012.66
5.3.130.0090.05712.66
5.3.120.0180.07912.66
5.3.110.0120.05012.65
5.3.100.0150.04512.14
5.3.90.0130.06512.12
5.3.80.0140.04712.10
5.3.70.0140.04812.10
5.3.60.0080.04512.09
5.3.50.0130.04012.04
5.3.40.0100.04012.04
5.3.30.0150.04012.00
5.3.20.0050.03811.78
5.3.10.0100.04211.74
5.3.00.0120.04511.73
5.2.170.0120.0419.24
5.2.160.0110.0309.24
5.2.150.0110.0319.23
5.2.140.0130.0339.23
5.2.130.0050.0429.19
5.2.120.0070.0349.20
5.2.110.0070.0439.20
5.2.100.0060.0309.20
5.2.90.0070.0349.20
5.2.80.0050.0339.19
5.2.70.0060.0419.19
5.2.60.0090.0309.14
5.2.50.0080.0329.11
5.2.40.0080.0289.10
5.2.30.0050.0349.07
5.2.20.0070.0429.10
5.2.10.0110.0489.01
5.2.00.0060.0418.87
5.1.60.0060.0378.17
5.1.50.0140.0338.17
5.1.40.0150.0638.15
5.1.30.0080.0308.50
5.1.20.0090.0348.52
5.1.10.0070.0458.25
5.1.00.0130.0398.25
5.0.50.0280.0746.73
5.0.40.0090.0166.52
5.0.30.0030.0336.33
5.0.20.0050.0226.30
5.0.10.0040.0256.28
5.0.00.0030.0326.27
4.4.90.0060.0154.78
4.4.80.0070.0144.76
4.4.70.0040.0154.75
4.4.60.0060.0184.75
4.4.50.0060.0144.77
4.4.40.0040.0264.73
4.4.30.0040.0194.76
4.4.20.0060.0154.84
4.4.10.0040.0184.85
4.4.00.0030.0274.76
4.3.110.0030.0154.67
4.3.100.0070.0124.67
4.3.90.0030.0164.63
4.3.80.0060.0214.58
4.3.70.0030.0154.63
4.3.60.0030.0174.63
4.3.50.0040.0154.63
4.3.40.0040.0304.54
4.3.30.0020.0173.32
4.3.20.0030.0173.30
4.3.10.0020.0153.25
4.3.00.0000.01316.50

preferences:
51.12 ms | 401 KiB | 5 Q