3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = <<<REGEX / \A\n\s* (@[\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.0080.01118.26
8.3.50.0060.01522.01
8.3.40.0150.00018.83
8.3.30.0110.00319.04
8.3.20.0000.00720.14
8.3.10.0040.00420.63
8.3.00.0040.00419.26
8.2.180.0070.01018.54
8.2.170.0140.00722.96
8.2.160.0140.00420.21
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0140.00322.18
8.2.110.0090.00022.07
8.2.100.0040.00718.03
8.2.90.0090.00019.09
8.2.80.0000.00817.97
8.2.70.0060.00517.60
8.2.60.0100.00017.93
8.2.50.0030.00518.07
8.2.40.0040.00418.22
8.2.30.0040.00418.09
8.2.20.0000.00817.64
8.2.10.0040.00417.98
8.2.00.0040.00417.55
8.1.280.0120.00925.92
8.1.270.0080.00023.91
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00022.68
8.1.230.0070.00417.70
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.36
8.1.190.0060.00317.23
8.1.180.0050.00318.10
8.1.170.0040.00418.51
8.1.160.0050.00322.01
8.1.150.0070.00018.82
8.1.140.0000.00717.30
8.1.130.0000.00717.70
8.1.120.0030.00317.42
8.1.110.0100.00017.36
8.1.100.0050.00217.29
8.1.90.0000.00717.28
8.1.80.0000.00817.30
8.1.70.0070.00017.27
8.1.60.0040.00817.52
8.1.50.0030.00517.45
8.1.40.0080.00017.43
8.1.30.0030.00617.62
8.1.20.0030.00517.42
8.1.10.0040.00417.41
8.1.00.0080.00317.45
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0000.00718.38
8.0.270.0070.00017.25
8.0.260.0000.00717.13
8.0.250.0040.00416.97
8.0.240.0000.00816.93
8.0.230.0070.00016.95
8.0.220.0000.00716.92
8.0.210.0000.00816.81
8.0.200.0000.00716.90
8.0.190.0070.00316.83
8.0.180.0030.00616.84
8.0.170.0000.00816.82
8.0.160.0040.00416.74
8.0.150.0040.00416.66
8.0.140.0000.00716.73
8.0.130.0030.00313.32
8.0.120.0040.00416.88
8.0.110.0000.00916.72
8.0.100.0040.00416.83
8.0.90.0030.00316.73
8.0.80.0090.00616.83
8.0.70.0030.00616.84
8.0.60.0040.00416.72
8.0.50.0040.00416.76
8.0.30.0110.00817.16
8.0.20.0120.01417.40
8.0.10.0040.00417.13
8.0.00.0120.00716.68
7.4.330.0030.00315.03
7.4.320.0030.00316.52
7.4.300.0030.00316.49
7.4.290.0000.00716.53
7.4.280.0040.00416.42
7.4.270.0040.00416.48
7.4.260.0070.00016.48
7.4.250.0060.00316.47
7.4.240.0020.00516.62
7.4.230.0040.00416.41
7.4.220.0030.01416.47
7.4.210.0150.00016.46
7.4.200.0070.00016.58
7.4.160.0090.01216.16
7.4.150.0100.00717.40
7.4.140.0100.01517.86
7.4.130.0090.00816.48
7.4.120.0090.00916.54
7.4.110.0130.00416.35
7.4.100.0090.00816.47
7.4.90.0070.01116.36
7.4.80.0090.00919.39
7.4.70.0070.01016.57
7.4.60.0090.01016.63
7.4.50.0080.00016.36
7.4.40.0100.00716.45
7.4.30.0130.00616.41
7.4.00.0040.01114.91
7.3.330.0000.00613.17
7.3.320.0000.00513.20
7.3.310.0040.00416.21
7.3.300.0030.00316.10
7.3.290.0120.00916.28
7.3.280.0110.00816.24
7.3.270.0080.00817.40
7.3.260.0150.00316.29
7.3.250.0100.00816.38
7.3.240.0160.00516.13
7.3.230.0130.00316.39
7.3.210.0080.00816.25
7.3.200.0100.01019.39
7.3.190.0080.01016.48
7.3.180.0070.01016.17
7.3.170.0090.00616.27
7.3.160.0060.01316.42
7.3.120.0110.00614.77
7.3.110.0080.00814.64
7.3.100.0100.00514.67
7.3.90.0030.01014.71
7.3.80.0030.01014.67
7.3.70.0030.00814.60
7.3.60.0130.00414.64
7.3.50.0060.00714.57
7.3.40.0100.00214.57
7.3.30.0020.01114.83
7.3.20.0010.01216.45
7.3.10.0070.00716.64
7.3.00.0040.01016.35
7.2.330.0100.00716.54
7.2.320.0040.01316.52
7.2.310.0100.00716.54
7.2.300.0130.00916.75
7.2.290.0110.00616.38
7.2.250.0050.01015.04
7.2.240.0110.00614.94
7.2.230.0080.00615.00
7.2.220.0080.00614.96
7.2.210.0060.00814.90
7.2.200.0080.00815.09
7.2.190.0060.01114.91
7.2.180.0070.00515.01
7.2.170.0080.00714.91
7.2.60.0090.00917.02
7.2.00.0030.01019.22
7.1.330.0070.00815.69
7.1.320.0030.01015.96
7.1.310.0050.00816.04
7.1.300.0060.01016.04
7.1.290.0070.00715.78
7.1.280.0110.00115.80
7.1.270.0050.00715.84
7.1.260.0020.01115.89
7.1.200.0030.00715.84
7.1.100.0040.01118.33
7.1.70.0030.00717.07
7.1.60.0030.01719.32
7.1.50.0100.00617.03
7.1.00.0070.07322.46
7.0.200.0000.01016.53
7.0.140.0130.06722.07
7.0.60.0030.04319.91
7.0.50.0100.06017.81
7.0.40.0030.08020.22
7.0.30.0400.05320.20
7.0.20.0300.08020.13
7.0.10.0130.07720.35
7.0.00.0130.05320.17
5.6.280.0000.07720.89
5.6.210.0170.06020.46
5.6.200.0100.06718.21
5.6.190.0000.05020.41
5.6.180.0370.05020.77
5.6.170.0270.07020.54
5.6.160.0000.04720.52
5.6.150.0030.08318.15
5.6.140.0030.08318.11
5.6.130.0070.08018.20
5.6.120.0170.04320.87
5.6.110.0170.08320.93
5.6.100.0130.07721.06
5.6.90.0130.07720.98
5.6.80.0030.04020.36
5.5.350.0170.08020.46
5.5.340.0170.07017.98
5.5.330.0030.04720.19
5.5.320.0270.03720.50
5.5.310.0330.07020.21
5.5.300.0000.04017.88
5.5.290.0130.06317.93
5.5.280.0070.07020.87
5.5.270.0030.04720.74
5.5.260.0030.05720.83
5.5.250.0100.07720.79
5.5.240.0200.06720.26
5.4.450.0200.06019.26
5.4.440.0200.04719.10
5.4.430.0230.07319.56
5.4.420.0230.03719.45
5.4.410.0230.07719.01
5.4.400.0330.06719.25
5.4.390.0200.05719.24
5.4.380.0200.03718.88
5.4.370.0200.06319.06
5.4.360.0230.03718.95
5.4.350.0200.06019.27
5.4.340.0170.05719.09
5.4.320.0170.05319.10
5.4.310.0130.04319.10
5.4.300.0130.04019.08
5.4.290.0430.06718.78
5.4.280.0230.06718.88
5.4.270.0170.04718.93
5.4.260.0270.06718.93
5.4.250.0300.06719.21
5.4.240.0230.04318.80
5.4.230.0170.07018.91
5.4.220.0230.07019.21
5.4.210.0200.04318.77
5.4.200.0170.07318.91
5.4.190.0200.04019.05
5.4.180.0300.06018.92
5.4.170.0270.06019.09
5.4.160.0230.04018.72
5.4.150.0270.03318.89
5.4.140.0270.03316.32
5.4.130.0130.03716.31
5.4.120.0200.03316.36
5.4.110.0200.03716.39
5.4.100.0170.03716.30
5.4.90.0170.03716.50
5.4.80.0230.05716.29
5.4.70.0170.06716.27
5.4.60.0230.06716.21
5.4.50.0230.03016.36
5.4.40.0530.06316.38
5.4.30.0130.04016.31
5.4.20.0200.06716.36
5.4.10.0230.06316.50
5.4.00.0200.04015.63
5.3.290.0130.04314.50
5.3.280.0200.07714.48
5.3.270.0100.05014.70
5.3.260.0130.05714.47
5.3.250.0270.02714.47
5.3.240.0200.07014.65
5.3.230.0200.04014.68
5.3.220.0170.08014.65
5.3.210.0130.05014.41
5.3.200.0530.05714.47
5.3.190.0300.07314.40
5.3.180.0230.05714.46
5.3.170.0270.04014.43
5.3.160.0200.04014.52
5.3.150.0270.06314.50
5.3.140.0230.07714.39
5.3.130.0270.03314.54
5.3.120.0430.05014.40
5.3.110.0200.04714.38
5.3.100.0170.05013.89
5.3.90.0270.03013.97
5.3.80.0300.06713.79
5.3.70.0200.07013.86
5.3.60.0300.06313.84
5.3.50.0370.04013.90
5.3.40.0200.05313.72
5.3.30.0170.05013.86
5.3.20.0270.06313.56
5.3.10.0230.04313.64
5.3.00.0230.03313.48
5.2.170.0130.03710.98
5.2.160.0200.02711.23
5.2.150.0170.03311.15
5.2.140.0200.02711.15
5.2.130.0130.03011.04
5.2.120.0170.03711.04
5.2.110.0200.03310.95
5.2.100.0200.02710.99
5.2.90.0170.02710.99
5.2.80.0230.04710.93
5.2.70.0200.05311.00
5.2.60.0170.03010.90
5.2.50.0200.04010.89
5.2.40.0100.04010.86
5.2.30.0100.03011.14
5.2.20.0100.03010.86
5.2.10.0100.03010.84
5.2.00.0170.02310.77
5.1.60.0100.0309.90
5.1.50.0130.0239.95
5.1.40.0230.0179.96
5.1.30.0170.02010.25
5.1.20.0130.02310.34
5.1.10.0070.02710.05
5.1.00.0100.0279.97
5.0.50.0070.0208.54
5.0.40.0030.0208.50
5.0.30.0070.0308.36
5.0.20.0100.0178.19
5.0.10.0070.0178.23
5.0.00.0070.0308.07
4.4.90.0070.0137.75
4.4.80.0070.0137.75
4.4.70.0130.0077.75
4.4.60.0070.0137.75
4.4.50.0030.0137.75
4.4.40.0030.0237.75
4.4.30.0100.0137.75
4.4.20.0070.0137.75
4.4.10.0070.0177.75
4.4.00.0070.0237.75
4.3.110.0030.0177.75
4.3.100.0070.0137.75
4.3.90.0030.0177.75
4.3.80.0070.0277.75
4.3.70.0030.0177.75
4.3.60.0030.0207.75
4.3.50.0100.0137.75
4.3.40.0030.0237.75
4.3.30.0030.0137.75
4.3.20.0000.0177.75
4.3.10.0070.0137.75
4.3.00.0030.0137.75

preferences:
45.85 ms | 401 KiB | 5 Q