3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = <<<REGEX / (?:[\A\s]*) # (?:(@[\pL-_\\]+)\ *(\()([?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> @ORM\Type(name="") 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.18
8.3.50.0120.01221.94
8.3.40.0150.00018.71
8.3.30.0090.00619.14
8.3.20.0040.00420.33
8.3.10.0040.00420.40
8.3.00.0030.00517.46
8.2.180.0120.00416.63
8.2.170.0140.00022.96
8.2.160.0090.00619.21
8.2.150.0060.00324.18
8.2.140.0030.00524.66
8.2.130.0070.00726.16
8.2.120.0080.00022.10
8.2.110.0060.00320.40
8.2.100.0090.00317.91
8.2.90.0060.00319.09
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0040.00417.79
8.2.50.0000.00818.07
8.2.40.0000.00718.22
8.2.30.0000.00818.03
8.2.20.0020.00517.79
8.2.10.0050.00317.94
8.2.00.0000.00717.70
8.1.280.0070.01025.92
8.1.270.0060.00323.95
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0030.00623.79
8.1.230.0000.01119.14
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0000.00917.23
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0030.00518.53
8.1.160.0000.00721.96
8.1.150.0080.00018.88
8.1.140.0040.00417.50
8.1.130.0080.00017.91
8.1.120.0040.00417.35
8.1.110.0040.00417.38
8.1.100.0000.00717.33
8.1.90.0000.00717.45
8.1.80.0030.00317.42
8.1.70.0040.00417.25
8.1.60.0040.00417.61
8.1.50.0000.00817.53
8.1.40.0040.00417.41
8.1.30.0000.00817.41
8.1.20.0040.00417.67
8.1.10.0000.00917.56
8.1.00.0040.00417.46
8.0.300.0000.00818.77
8.0.290.0000.00716.75
8.0.280.0030.00618.42
8.0.270.0000.00717.23
8.0.260.0000.00717.23
8.0.250.0000.00717.02
8.0.240.0030.00316.89
8.0.230.0000.00717.03
8.0.220.0070.00016.91
8.0.210.0070.00016.97
8.0.200.0030.00317.05
8.0.190.0060.00316.90
8.0.180.0050.00216.84
8.0.170.0060.00316.91
8.0.160.0040.00416.92
8.0.150.0000.00816.81
8.0.140.0120.00016.84
8.0.130.0030.00313.37
8.0.120.0000.00816.90
8.0.110.0000.00716.86
8.0.100.0030.00516.99
8.0.90.0050.00216.98
8.0.80.0000.01516.92
8.0.70.0000.00716.91
8.0.60.0030.00516.86
8.0.50.0000.00816.81
8.0.30.0090.01017.11
8.0.20.0120.00717.40
8.0.10.0000.00717.08
8.0.00.0080.01016.63
7.4.330.0000.00515.00
7.4.320.0030.00316.64
7.4.300.0000.00716.65
7.4.290.0000.00716.40
7.4.280.0000.00816.61
7.4.270.0000.00716.55
7.4.260.0050.00316.51
7.4.250.0090.00016.46
7.4.240.0050.00316.46
7.4.230.0000.00816.59
7.4.220.0070.01316.66
7.4.210.0050.00816.59
7.4.200.0040.00416.67
7.4.160.0080.00816.42
7.4.150.0110.00717.40
7.4.140.0120.00917.86
7.4.130.0120.00716.41
7.4.120.0080.00816.54
7.4.110.0060.01016.78
7.4.100.0070.01016.48
7.4.90.0130.01016.45
7.4.80.0040.01419.39
7.4.70.0120.00616.38
7.4.60.0030.01316.72
7.4.50.0000.00816.49
7.4.40.0070.01416.28
7.4.30.0070.01016.56
7.4.00.0090.00814.90
7.3.330.0020.00213.18
7.3.320.0030.00313.12
7.3.310.0000.00716.21
7.3.300.0000.00716.38
7.3.290.0070.00716.38
7.3.280.0140.00516.25
7.3.270.0120.01217.40
7.3.260.0140.01016.50
7.3.250.0070.01016.45
7.3.240.0100.00716.43
7.3.230.0000.01716.39
7.3.210.0070.01016.29
7.3.200.0070.01719.39
7.3.190.0070.01016.32
7.3.180.0000.01516.41
7.3.170.0060.00916.27
7.3.160.0170.00316.39
7.3.120.0090.00914.51
7.3.110.0100.01014.90
7.3.100.0130.00314.63
7.3.90.0070.01015.02
7.3.80.0050.00514.77
7.3.70.0080.00514.71
7.3.60.0040.00714.40
7.3.50.0070.00314.58
7.3.40.0080.00814.87
7.3.30.0070.01014.64
7.3.20.0060.00616.79
7.3.10.0000.00816.57
7.3.00.0000.01116.27
7.2.330.0150.00616.64
7.2.320.0090.01016.69
7.2.310.0180.00316.67
7.2.300.0130.00716.52
7.2.290.0120.01216.73
7.2.250.0090.00914.78
7.2.240.0030.01715.17
7.2.230.0070.00714.97
7.2.220.0030.01315.03
7.2.210.0040.01115.11
7.2.200.0070.00715.06
7.2.190.0040.00715.22
7.2.180.0030.01015.24
7.2.170.0070.01115.33
7.2.160.0060.00614.90
7.2.150.0030.01316.69
7.2.140.0070.01117.04
7.2.130.0040.01417.18
7.2.120.0090.01216.73
7.2.110.0100.01016.88
7.2.100.0110.00716.95
7.2.90.0040.01117.02
7.2.80.0060.01217.21
7.2.70.0030.01317.14
7.2.60.0040.00817.02
7.2.50.0090.00616.90
7.2.40.0100.00616.84
7.2.30.0030.00717.05
7.2.20.0080.01217.11
7.2.10.0030.01617.06
7.2.00.0100.00018.28
7.1.330.0040.01516.09
7.1.320.0040.00815.57
7.1.310.0040.00916.14
7.1.300.0090.00015.93
7.1.290.0060.00915.97
7.1.280.0090.00915.95
7.1.270.0060.00916.20
7.1.260.0030.01016.00
7.1.250.0030.01016.08
7.1.240.0110.00715.98
7.1.230.0140.00316.16
7.1.220.0000.01215.77
7.1.210.0090.00615.81
7.1.200.0070.01115.99
7.1.190.0000.01515.93
7.1.180.0080.00816.04
7.1.170.0070.01015.69
7.1.160.0000.01416.09
7.1.150.0120.00616.02
7.1.140.0070.01015.77
7.1.130.0140.00315.78
7.1.120.0000.01016.00
7.1.110.0060.00816.09
7.1.100.0020.01016.99
7.1.90.0060.00916.01
7.1.80.0060.00316.05
7.1.70.0050.00516.69
7.1.60.0080.01417.55
7.1.50.0150.01125.42
7.1.40.0030.00715.85
7.1.30.0070.00316.12
7.1.20.0060.00316.03
7.1.10.0040.01116.04
7.1.00.0050.04119.24
7.0.330.0130.00615.63
7.0.320.0000.01615.57
7.0.310.0040.01415.63
7.0.300.0070.01015.51
7.0.290.0090.00015.71
7.0.280.0000.01115.52
7.0.270.0070.01015.57
7.0.260.0100.01015.70
7.0.250.0080.00815.69
7.0.240.0100.00015.87
7.0.230.0040.00815.47
7.0.220.0070.00715.65
7.0.210.0100.00315.57
7.0.200.0090.00416.30
7.0.190.0070.00315.84
7.0.180.0140.00015.35
7.0.170.0090.00315.81
7.0.160.0060.00315.56
7.0.150.0090.00615.59
7.0.140.0020.04318.83
7.0.130.0060.00315.68
7.0.120.0000.01115.58
7.0.110.0040.01115.53
7.0.100.0070.00715.71
7.0.90.0040.00715.66
7.0.80.0030.00915.37
7.0.70.0030.00815.58
7.0.60.0070.04017.99
7.0.50.0070.04516.85
7.0.40.0090.04416.87
7.0.30.0220.03016.81
7.0.20.0130.02316.84
7.0.10.0030.03216.99
7.0.00.0050.04716.94
5.6.400.0000.01514.39
5.6.390.0070.01314.29
5.6.380.0040.01114.27
5.6.370.0070.01114.42
5.6.360.0030.01014.43
5.6.350.0030.00614.57
5.6.340.0120.00314.28
5.6.330.0100.00014.07
5.6.320.0030.01314.06
5.6.310.0030.01014.55
5.6.300.0030.01414.30
5.6.290.0130.00013.96
5.6.280.0040.04317.54
5.6.270.0100.00314.50
5.6.260.0040.01114.19
5.6.250.0000.01414.12
5.6.240.0060.00614.19
5.6.230.0060.00614.26
5.6.220.0100.00314.17
5.6.210.0050.03517.38
5.6.200.0080.03316.20
5.6.190.0060.02517.34
5.6.180.0230.03017.19
5.6.170.0170.02317.29
5.6.160.0090.04517.50
5.6.150.0080.04216.10
5.6.140.0050.03316.29
5.6.130.0060.02516.12
5.6.120.0100.04217.52
5.6.110.0150.04217.58
5.6.100.0100.04517.60
5.6.90.0060.03517.73
5.6.80.0070.04417.26
5.6.70.0070.01014.44
5.6.60.0030.01014.01
5.6.50.0000.00913.93
5.6.40.0120.00313.94
5.6.30.0120.00614.22
5.6.20.0000.01214.23
5.6.10.0060.00314.01
5.6.00.0070.01014.21
5.5.380.0040.00813.92
5.5.370.0060.01014.21
5.5.360.0030.01314.20
5.5.350.0110.03617.16
5.5.340.0130.03215.88
5.5.330.0080.04617.31
5.5.320.0140.03217.35
5.5.310.0180.03017.38
5.5.300.0080.04016.16
5.5.290.0070.04416.20
5.5.280.0100.03717.55
5.5.270.0140.03917.65
5.5.260.0130.03817.43
5.5.250.0100.04217.20
5.5.240.0150.03017.29
5.5.230.0100.01014.28
5.5.220.0070.00414.11
5.5.210.0100.00014.20
5.5.200.0090.00914.17
5.5.190.0040.01114.11
5.5.180.0070.00714.18
5.5.170.0060.00313.94
5.5.160.0030.01313.98
5.5.150.0030.00714.20
5.5.140.0110.00714.07
5.5.130.0080.00814.18
5.5.120.0060.00614.03
5.5.110.0070.00413.86
5.5.100.0030.00714.13
5.5.90.0030.00914.04
5.5.80.0150.00014.09
5.5.70.0120.00314.38
5.5.60.0060.00614.38
5.5.50.0040.00813.96
5.5.40.0040.00714.25
5.5.30.0130.00313.98
5.5.20.0040.01114.05
5.5.10.0080.00414.17
5.5.00.0030.01014.35
5.4.450.0310.02115.44
5.4.440.0430.02915.52
5.4.430.0370.03515.45
5.4.420.0390.00215.39
5.4.410.0370.00215.49
5.4.400.0350.00515.33
5.4.390.0370.00515.27
5.4.380.0380.00215.30
5.4.370.0300.00615.23
5.4.360.0420.00715.36
5.4.350.0350.00415.27
5.4.340.0320.00615.22
5.4.330.0090.00311.46
5.4.320.0050.02211.97
5.4.310.0060.02211.97
5.4.300.0060.02111.97
5.4.290.0040.02711.96
5.4.280.0040.02011.92
5.4.270.0080.02611.91
5.4.260.0070.02211.92
5.4.250.0070.02511.91
5.4.240.0060.02811.92
5.4.230.0070.01911.91
5.4.220.0080.02011.91
5.4.210.0050.02011.91
5.4.200.0070.02811.91
5.4.190.0030.02411.91
5.4.180.0040.02311.91
5.4.170.0050.02211.91
5.4.160.0080.01811.91
5.4.150.0050.02311.91
5.4.140.0030.02411.75
5.4.130.0020.02411.75
5.4.120.0070.02111.73
5.4.110.0050.02711.72
5.4.100.0080.02611.72
5.4.90.0070.02011.72
5.4.80.0050.02111.72
5.4.70.0050.02411.72
5.4.60.0060.02111.72
5.4.50.0060.02311.72
5.4.40.0060.02311.71
5.4.30.0050.02411.71
5.4.20.0070.02311.71
5.4.10.0060.02111.71
5.4.00.0060.02811.46
5.3.290.0060.04012.80
5.3.280.0040.04112.71
5.3.270.0050.04112.73
5.3.260.0070.03912.72
5.3.250.0070.03612.72
5.3.240.0040.04112.72
5.3.230.0070.03812.71
5.3.220.0070.03712.68
5.3.210.0090.03712.68
5.3.200.0070.03712.68
5.3.190.0080.03712.68
5.3.180.0030.04012.67
5.3.170.0080.03512.67
5.3.160.0060.03812.67
5.3.150.0030.04512.67
5.3.140.0090.03512.66
5.3.130.0050.04012.66
5.3.120.0060.03912.66
5.3.110.0050.04012.66
5.3.100.0050.04312.12
5.3.90.0080.04912.10
5.3.80.0100.03812.09
5.3.70.0060.04312.09
5.3.60.0070.03512.07
5.3.50.0080.03512.02
5.3.40.0060.03812.02
5.3.30.0080.03411.98
5.3.20.0060.03611.76
5.3.10.0080.03511.73
5.3.00.0080.04411.71
5.2.170.0040.0379.21
5.2.160.0040.0309.21
5.2.150.0070.0409.22
5.2.140.0040.0389.21
5.2.130.0090.0259.18
5.2.120.0120.0289.17
5.2.110.0070.0359.18
5.2.100.0040.0299.18
5.2.90.0040.0309.18
5.2.80.0050.0309.17
5.2.70.0080.0459.18
5.2.60.0070.0339.13
5.2.50.0050.0369.09
5.2.40.0050.0299.07
5.2.30.0040.0319.05
5.2.20.0050.0289.08
5.2.10.0030.0309.00
5.2.00.0060.0418.85
5.1.60.0060.0308.14
5.1.50.0030.0278.14
5.1.40.0060.0258.13
5.1.30.0050.0258.48
5.1.20.0030.0288.50
5.1.10.0110.0208.22
5.1.00.0040.0268.22
5.0.50.0060.0276.70
5.0.40.0030.0246.52
5.0.30.0030.0316.33
5.0.20.0050.0276.31
5.0.10.0030.0206.28
5.0.00.0050.0336.28
4.4.90.0060.0234.78
4.4.80.0030.0164.76
4.4.70.0020.0174.75
4.4.60.0050.0194.75
4.4.50.0060.0144.77
4.4.40.0060.0314.71
4.4.30.0050.0174.76
4.4.20.0020.0174.84
4.4.10.0040.0224.84
4.4.00.0030.0264.76
4.3.110.0020.0164.67
4.3.100.0040.0174.66
4.3.90.0030.0144.63
4.3.80.0030.0244.59
4.3.70.0040.0134.63
4.3.60.0030.0144.62
4.3.50.0010.0224.63
4.3.40.0040.0264.54
4.3.30.0020.0163.32
4.3.20.0020.0163.30
4.3.10.0020.0163.25
4.3.00.0000.01316.50

preferences:
34.8 ms | 401 KiB | 5 Q