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.0110.00718.43
8.3.50.0080.01021.94
8.3.40.0110.00418.84
8.3.30.0180.00019.08
8.3.20.0070.00020.37
8.3.10.0030.00520.57
8.3.00.0080.00017.34
8.2.180.0140.00316.63
8.2.170.0100.00722.96
8.2.160.0170.00020.39
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0080.00022.11
8.2.110.0090.00022.27
8.2.100.0060.00617.84
8.2.90.0090.00019.17
8.2.80.0080.00017.97
8.2.70.0060.00317.63
8.2.60.0030.00917.91
8.2.50.0050.00318.07
8.2.40.0030.00621.06
8.2.30.0000.00918.04
8.2.20.0030.00617.59
8.2.10.0040.00418.05
8.2.00.0030.00517.59
8.1.280.0150.00625.92
8.1.270.0030.00622.05
8.1.260.0070.00026.35
8.1.250.0050.00228.09
8.1.240.0090.00019.00
8.1.230.0090.00319.11
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0030.00617.23
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0000.00818.56
8.1.160.0070.00021.99
8.1.150.0070.00018.86
8.1.140.0030.00617.37
8.1.130.0070.00017.86
8.1.120.0040.00417.46
8.1.110.0050.00317.39
8.1.100.0070.00017.32
8.1.90.0050.00217.45
8.1.80.0000.00717.35
8.1.70.0030.00317.39
8.1.60.0000.00917.46
8.1.50.0000.00817.46
8.1.40.0000.00817.50
8.1.30.0040.00417.64
8.1.20.0070.00017.50
8.1.10.0040.00417.42
8.1.00.0080.00017.45
8.0.300.0030.00618.77
8.0.290.0070.00016.75
8.0.280.0030.00318.53
8.0.270.0040.00417.13
8.0.260.0030.00317.24
8.0.250.0040.00417.00
8.0.240.0060.00017.00
8.0.230.0030.00416.91
8.0.220.0030.00316.90
8.0.210.0030.00316.88
8.0.200.0070.00017.01
8.0.190.0030.00716.92
8.0.180.0070.00016.84
8.0.170.0040.00416.89
8.0.160.0030.00516.99
8.0.150.0070.00016.81
8.0.140.0000.00916.83
8.0.130.0060.00013.35
8.0.120.0000.00816.79
8.0.110.0000.00716.95
8.0.100.0060.00316.89
8.0.90.0030.00416.75
8.0.80.0130.00316.88
8.0.70.0000.00716.88
8.0.60.0000.00816.95
8.0.50.0000.00816.86
8.0.30.0100.01017.07
8.0.20.0140.00817.40
8.0.10.0080.00017.11
8.0.00.0120.00616.77
7.4.330.0050.00015.09
7.4.320.0000.00616.65
7.4.300.0040.00416.62
7.4.290.0000.00716.64
7.4.280.0040.00416.64
7.4.270.0070.00016.48
7.4.260.0030.00316.55
7.4.250.0070.00016.63
7.4.240.0040.00416.61
7.4.230.0030.00316.73
7.4.220.0130.01416.57
7.4.210.0160.00616.75
7.4.200.0040.00416.65
7.4.160.0090.00616.60
7.4.150.0080.00817.40
7.4.140.0130.00817.86
7.4.130.0060.01216.53
7.4.120.0100.01216.40
7.4.110.0080.00816.35
7.4.100.0130.00316.55
7.4.90.0130.00316.40
7.4.80.0160.00619.39
7.4.70.0100.00716.56
7.4.60.0030.01316.41
7.4.50.0000.00516.36
7.4.40.0120.00416.44
7.4.30.0110.01116.54
7.4.00.0020.01214.96
7.3.330.0050.00013.24
7.3.320.0000.00613.12
7.3.310.0040.00416.39
7.3.300.0000.00716.27
7.3.290.0030.01416.22
7.3.280.0080.01016.24
7.3.270.0100.01317.40
7.3.260.0170.00716.75
7.3.250.0040.01316.19
7.3.240.0070.01016.40
7.3.230.0060.00916.39
7.3.210.0090.00916.50
7.3.200.0100.01219.39
7.3.190.0090.00316.53
7.3.180.0130.00316.66
7.3.170.0060.00916.34
7.3.160.0030.01316.45
7.3.120.0060.00814.70
7.3.110.0040.01114.75
7.3.100.0060.00914.95
7.3.90.0030.01414.47
7.3.80.0040.01114.77
7.3.70.0060.00914.78
7.3.60.0070.01014.84
7.3.50.0080.00414.65
7.3.40.0100.00314.61
7.3.30.0030.01314.48
7.3.20.0050.00516.76
7.3.10.0070.00716.49
7.3.00.0000.01616.48
7.2.330.0090.00916.73
7.2.320.0140.01116.75
7.2.310.0120.00616.79
7.2.300.0160.00416.90
7.2.290.0100.01316.79
7.2.250.0070.01314.93
7.2.240.0100.01015.24
7.2.230.0070.01015.15
7.2.220.0070.00715.02
7.2.210.0070.00715.18
7.2.200.0110.00414.84
7.2.190.0140.00315.00
7.2.180.0040.01515.01
7.2.170.0070.00414.76
7.2.60.0030.01416.83
7.2.00.0060.00619.69
7.1.330.0090.00915.86
7.1.320.0060.00916.05
7.1.310.0080.00715.83
7.1.300.0090.00615.77
7.1.290.0070.01016.04
7.1.280.0040.01115.61
7.1.270.0060.00915.74
7.1.260.0030.01015.76
7.1.200.0060.00915.88
7.1.100.0040.00818.67
7.1.70.0030.00517.50
7.1.60.0100.01719.32
7.1.50.0250.01335.10
7.1.00.0130.03722.54
7.0.200.0070.00517.03
7.0.140.0070.06322.07
7.0.60.0130.04020.11
7.0.50.0100.04018.04
7.0.40.0100.04320.13
7.0.30.0230.08020.18
7.0.20.0100.04720.40
7.0.10.0070.07320.27
7.0.00.0030.07720.39
5.6.280.0030.07320.82
5.6.210.0070.08020.72
5.6.200.0070.08718.24
5.6.190.0130.07720.27
5.6.180.0330.04020.79
5.6.170.0170.04020.40
5.6.160.0030.05020.54
5.6.150.0070.08018.08
5.6.140.0070.07318.21
5.6.130.0030.04318.11
5.6.120.0130.04320.88
5.6.110.0130.08021.10
5.6.100.0070.07720.88
5.6.90.0170.07320.97
5.6.80.0100.03320.50
5.5.350.0130.05020.40
5.5.340.0130.05317.98
5.5.330.0100.08720.37
5.5.320.0330.08020.31
5.5.310.0330.03720.32
5.5.300.0100.07017.91
5.5.290.0030.06717.94
5.5.280.0000.08720.89
5.5.270.0100.05720.66
5.5.260.0070.04720.64
5.5.250.0070.04320.69
5.5.240.0270.07020.26
5.4.450.0430.04019.55
5.4.440.0830.06719.47
5.4.430.0130.05719.48
5.4.420.0670.00019.33
5.4.410.0670.00019.20
5.4.400.0630.00019.16
5.4.390.0630.00019.09
5.4.380.0730.00019.19
5.4.370.0630.00018.95
5.4.360.0730.00019.07
5.4.350.0670.00019.18
5.4.340.0630.00019.05
5.4.320.0070.04012.48
5.4.310.0090.03712.47
5.4.300.0120.03312.48
5.4.290.0100.05212.47
5.4.280.0110.04912.37
5.4.270.0130.04712.37
5.4.260.0080.03912.37
5.4.250.0090.03812.37
5.4.240.0060.03712.37
5.4.230.0070.03812.36
5.4.220.0080.03512.36
5.4.210.0090.03412.36
5.4.200.0070.03712.36
5.4.190.0050.03812.36
5.4.180.0060.03712.36
5.4.170.0070.03612.37
5.4.160.0110.04512.36
5.4.150.0100.03612.36
5.4.140.0080.04612.05
5.4.130.0060.03612.04
5.4.120.0050.03711.99
5.4.110.0060.03611.98
5.4.100.0070.03511.98
5.4.90.0040.04011.98
5.4.80.0100.03411.98
5.4.70.0080.03411.98
5.4.60.0100.03411.98
5.4.50.0070.03811.98
5.4.40.0070.03511.97
5.4.30.0090.04111.96
5.4.20.0120.03411.97
5.4.10.0060.03611.96
5.4.00.0070.03711.46
5.3.290.0060.05112.80
5.3.280.0090.03612.71
5.3.270.0080.03912.72
5.3.260.0070.03912.72
5.3.250.0070.03712.72
5.3.240.0050.03912.71
5.3.230.0100.03512.71
5.3.220.0070.03612.68
5.3.210.0040.04212.68
5.3.200.0070.03612.68
5.3.190.0070.03812.67
5.3.180.0050.03912.67
5.3.170.0120.04112.67
5.3.160.0040.04112.67
5.3.150.0120.04412.67
5.3.140.0140.04612.66
5.3.130.0060.04112.66
5.3.120.0070.04112.66
5.3.110.0080.05112.66
5.3.100.0090.03812.11
5.3.90.0110.04212.10
5.3.80.0090.03712.09
5.3.70.0060.03812.09
5.3.60.0100.04612.07
5.3.50.0040.05112.02
5.3.40.0060.03812.02
5.3.30.0090.03511.98
5.3.20.0050.04111.76
5.3.10.0070.03811.72
5.3.00.0150.03311.71
5.2.170.0060.0339.22
5.2.160.0080.0289.22
5.2.150.0060.0349.22
5.2.140.0040.0339.21
5.2.130.0030.0329.17
5.2.120.0040.0339.17
5.2.110.0040.0329.18
5.2.100.0050.0369.18
5.2.90.0070.0429.18
5.2.80.0090.0409.18
5.2.70.0070.0339.17
5.2.60.0080.0319.13
5.2.50.0070.0299.09
5.2.40.0100.0299.07
5.2.30.0030.0329.05
5.2.20.0050.0309.09
5.2.10.0090.0258.99
5.2.00.0070.0288.85
5.1.60.0050.0258.14
5.1.50.0100.0218.14
5.1.40.0040.0268.13
5.1.30.0070.0258.48
5.1.20.0090.0238.50
5.1.10.0050.0258.22
5.1.00.0040.0268.22
5.0.50.0040.0216.70
5.0.40.0030.0206.52
5.0.30.0050.0316.33
5.0.20.0070.0166.31
5.0.10.0050.0186.29
5.0.00.0030.0326.28
4.4.90.0060.0144.77
4.4.80.0070.0144.75
4.4.70.0030.0184.75
4.4.60.0090.0154.75
4.4.50.0050.0204.77
4.4.40.0060.0244.71
4.4.30.0090.0114.76
4.4.20.0040.0164.84
4.4.10.0050.0144.85
4.4.00.0050.0244.75
4.3.110.0010.0174.66
4.3.100.0050.0124.66
4.3.90.0020.0154.63
4.3.80.0030.0244.59
4.3.70.0030.0144.63
4.3.60.0010.0164.63
4.3.50.0040.0164.63
4.3.40.0030.0284.54
4.3.30.0020.0183.33
4.3.20.0040.0183.30
4.3.10.0040.0193.25
4.3.00.0000.01716.50

preferences:
45.15 ms | 401 KiB | 5 Q