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.0120.00318.42
8.3.50.0110.01121.09
8.3.40.0090.00618.88
8.3.30.0140.00418.93
8.3.20.0040.00420.34
8.3.10.0040.00420.36
8.3.00.0080.00019.26
8.2.180.0080.00816.63
8.2.170.0110.00322.96
8.2.160.0170.00320.18
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00826.16
8.2.120.0040.00422.18
8.2.110.0090.00020.25
8.2.100.0110.00018.03
8.2.90.0060.00319.05
8.2.80.0030.00517.97
8.2.70.0050.00517.50
8.2.60.0030.00517.93
8.2.50.0000.00818.07
8.2.40.0080.00018.22
8.2.30.0050.00217.98
8.2.20.0040.00417.62
8.2.10.0070.00018.07
8.2.00.0000.00817.56
8.1.280.0110.00725.92
8.1.270.0000.00923.66
8.1.260.0070.00026.35
8.1.250.0030.00628.09
8.1.240.0030.00623.66
8.1.230.0080.00318.99
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.36
8.1.190.0040.00417.23
8.1.180.0070.00018.10
8.1.170.0030.00518.59
8.1.160.0040.00421.98
8.1.150.0000.00818.80
8.1.140.0040.00417.38
8.1.130.0030.00317.75
8.1.120.0080.00017.29
8.1.110.0050.00217.39
8.1.100.0070.00017.34
8.1.90.0030.00317.43
8.1.80.0000.00717.32
8.1.70.0070.00017.39
8.1.60.0040.00417.55
8.1.50.0040.00417.36
8.1.40.0040.00417.49
8.1.30.0000.00817.46
8.1.20.0080.00017.59
8.1.10.0060.00317.53
8.1.00.0000.00717.49
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0040.00418.42
8.0.270.0000.00717.27
8.0.260.0000.00717.23
8.0.250.0000.00716.94
8.0.240.0070.00016.98
8.0.230.0000.00716.82
8.0.220.0000.00716.88
8.0.210.0070.00016.89
8.0.200.0000.00816.91
8.0.190.0060.00316.92
8.0.180.0040.00416.92
8.0.170.0000.00816.96
8.0.160.0000.00816.91
8.0.150.0050.00516.84
8.0.140.0060.00316.75
8.0.130.0000.00613.36
8.0.120.0060.00316.79
8.0.110.0040.00416.96
8.0.100.0000.00716.77
8.0.90.0070.00016.89
8.0.80.0060.01316.89
8.0.70.0030.00516.70
8.0.60.0020.00516.88
8.0.50.0070.00016.84
8.0.30.0140.00517.24
8.0.20.0160.00617.40
8.0.10.0000.00717.03
8.0.00.0060.01116.62
7.4.330.0000.00515.14
7.4.320.0000.00616.52
7.4.300.0000.00616.50
7.4.290.0000.00716.54
7.4.280.0060.00316.51
7.4.270.0040.00416.59
7.4.260.0040.00416.52
7.4.250.0040.00416.55
7.4.240.0040.00416.55
7.4.230.0000.00716.51
7.4.220.0130.01316.46
7.4.210.0070.00716.61
7.4.200.0000.00816.70
7.4.160.0100.00716.48
7.4.150.0100.01417.40
7.4.140.0110.01317.86
7.4.130.0110.00916.54
7.4.120.0080.00816.51
7.4.110.0130.00316.41
7.4.100.0120.00616.29
7.4.90.0080.00816.44
7.4.80.0090.00919.39
7.4.70.0070.01016.69
7.4.60.0100.00716.52
7.4.50.0050.00016.47
7.4.40.0060.00916.44
7.4.30.0120.00616.58
7.4.00.0100.00314.95
7.3.330.0020.00213.05
7.3.320.0030.00313.20
7.3.310.0000.00716.11
7.3.300.0040.00416.17
7.3.290.0100.00316.15
7.3.280.0140.00716.23
7.3.270.0090.00917.40
7.3.260.0000.01716.21
7.3.250.0080.00816.33
7.3.240.0090.00916.17
7.3.230.0070.01016.39
7.3.210.0090.00616.32
7.3.200.0150.00719.39
7.3.190.0060.01116.55
7.3.180.0090.01316.36
7.3.170.0120.00416.27
7.3.160.0140.01116.24
7.3.10.0150.00016.36
7.3.00.0070.01116.16
7.2.330.0070.01316.71
7.2.320.0110.00616.61
7.2.310.0060.01116.52
7.2.300.0060.01216.71
7.2.290.0170.00716.52
7.2.130.0050.01116.70
7.2.120.0160.00416.60
7.2.110.0120.00516.62
7.2.100.0080.01016.64
7.2.90.0090.01216.66
7.2.80.0100.00916.76
7.2.70.0110.00616.73
7.2.60.0130.00516.96
7.2.50.0120.00516.75
7.2.40.0090.00516.48
7.2.30.0070.01116.84
7.2.20.0080.00816.78
7.2.10.0070.00716.64
7.2.00.0040.01117.74
7.1.250.0120.00715.69
7.1.240.0000.01515.58
7.1.230.0080.00315.84
7.1.220.0040.01415.72
7.1.210.0090.00615.83
7.1.200.0060.00615.93
7.1.190.0110.00415.87
7.1.180.0070.01015.60
7.1.170.0070.00716.04
7.1.160.0080.00415.77
7.1.150.0060.00615.86
7.1.140.0040.01115.86
7.1.130.0130.00415.52
7.1.120.0060.00815.74
7.1.110.0080.00815.94
7.1.100.0070.00617.06
7.1.90.0050.00515.68
7.1.80.0070.00315.96
7.1.70.0030.00616.54
7.1.60.0110.00717.49
7.1.50.0110.00816.38
7.1.40.0120.00015.78
7.1.30.0090.00316.02
7.1.20.0070.00415.74
7.1.10.0070.00715.86
7.1.00.0010.04419.20
7.0.330.0140.00415.18
7.0.320.0130.00015.43
7.0.310.0100.00815.14
7.0.300.0090.00615.10
7.0.290.0080.00515.18
7.0.280.0000.01415.48
7.0.270.0060.00915.44
7.0.260.0060.00315.49
7.0.250.0170.00015.39
7.0.240.0070.00715.63
7.0.230.0070.00715.50
7.0.220.0060.00915.46
7.0.210.0070.00315.42
7.0.200.0060.00316.29
7.0.190.0070.00715.47
7.0.180.0090.00315.39
7.0.170.0100.00015.45
7.0.160.0100.00015.20
7.0.150.0000.01115.36
7.0.140.0000.04618.56
7.0.130.0070.00315.29
7.0.120.0070.00715.43
7.0.110.0100.00615.42
7.0.100.0070.00715.09
7.0.90.0060.00615.46
7.0.80.0070.00315.27
7.0.70.0050.00515.43
7.0.60.0060.02717.54
7.0.50.0070.04116.62
7.0.40.0100.04516.69
7.0.30.0230.03516.75
7.0.20.0130.02116.81
7.0.10.0110.03816.62
7.0.00.0100.04416.83
5.6.380.0140.00513.79
5.6.370.0030.00714.06
5.6.360.0030.01314.30
5.6.350.0060.00614.13
5.6.340.0060.00614.12
5.6.330.0080.00813.76
5.6.320.0070.00514.18
5.6.310.0030.01113.84
5.6.300.0040.01113.88
5.6.290.0030.01114.04
5.6.280.0040.04117.41
5.6.270.0070.01013.96
5.6.260.0110.00614.06
5.6.250.0030.01014.31
5.6.240.0080.00413.95
5.6.230.0000.01414.05
5.6.220.0080.00414.23
5.6.210.0090.04017.31
5.6.200.0070.04116.12
5.6.190.0030.02817.27
5.6.180.0290.03817.41
5.6.170.0170.04217.48
5.6.160.0050.03317.17
5.6.150.0100.03816.12
5.6.140.0030.04515.93
5.6.130.0050.02516.10
5.6.120.0050.04017.40
5.6.110.0100.04617.63
5.6.100.0110.03217.36
5.6.90.0160.03717.59
5.6.80.0060.03817.24
5.6.70.0030.01014.04
5.6.60.0060.00913.95
5.6.50.0080.00014.18
5.6.40.0080.00014.14
5.6.30.0030.00914.05
5.6.20.0060.00614.43
5.6.10.0030.01014.01
5.6.00.0070.00714.14
5.5.380.0080.00411.18
5.5.370.0080.00011.18
5.5.360.0050.00511.18
5.5.350.0140.04015.74
5.5.340.0010.04614.60
5.5.330.0050.03115.70
5.5.320.0190.02015.73
5.5.310.0170.03215.73
5.5.300.0080.04214.53
5.5.290.0110.04214.55
5.5.280.0090.04216.07
5.5.270.0090.04215.95
5.5.260.0070.04716.03
5.5.250.0070.03815.92
5.5.240.0080.04015.67
5.5.230.0030.00911.18
5.5.220.0000.00611.18
5.5.210.0000.00711.18
5.5.200.0020.00511.18
5.5.190.0000.00611.18
5.5.180.0030.00911.18
5.5.170.0100.00011.18
5.5.160.0070.00311.18
5.5.150.0000.00511.18
5.5.140.0050.00511.18
5.5.130.0000.00911.18
5.5.120.0050.00511.18
5.5.110.0070.00411.18
5.5.100.0030.00611.18
5.5.90.0040.00411.18
5.5.80.0000.00711.18
5.5.70.0030.00911.18
5.5.60.0030.00711.18
5.5.50.0030.00311.18
5.5.40.0040.00411.18
5.5.30.0000.00511.18
5.5.20.0030.00311.18
5.5.10.0060.00311.18
5.5.00.0070.00311.18
5.4.450.0370.02115.32
5.4.440.0430.03015.13
5.4.430.0490.04015.31
5.4.420.0360.00415.32
5.4.410.0320.00615.25
5.4.400.0310.00215.20
5.4.390.0360.00315.08
5.4.380.0350.00015.18
5.4.370.0350.00215.13
5.4.360.0320.00415.08
5.4.350.0350.00015.05
5.4.340.0330.00215.17
5.4.330.0100.00011.18
5.4.320.0060.02011.81
5.4.310.0040.02911.81
5.4.300.0040.02911.82
5.4.290.0020.03111.81
5.4.280.0050.02111.76
5.4.270.0040.02411.76
5.4.260.0040.02211.76
5.4.250.0050.02311.76
5.4.240.0040.02311.76
5.4.230.0060.02011.76
5.4.220.0020.02311.76
5.4.210.0050.01811.76
5.4.200.0040.02111.76
5.4.190.0080.01711.76
5.4.180.0040.02211.76
5.4.170.0060.01911.76
5.4.160.0030.02311.76
5.4.150.0040.02211.76
5.4.140.0070.01711.60
5.4.130.0060.01911.59
5.4.120.0020.02211.57
5.4.110.0020.02211.57
5.4.100.0060.02011.57
5.4.90.0050.02111.57
5.4.80.0050.02111.57
5.4.70.0080.01911.57
5.4.60.0050.01911.57
5.4.50.0080.01911.57
5.4.40.0040.02111.56
5.4.30.0060.02111.56
5.4.20.0070.02111.56
5.4.10.0050.02011.56
5.4.00.0020.02411.31
5.3.290.0050.02411.99
5.3.280.0050.02411.94
5.3.270.0060.02711.95
5.3.260.0030.02511.95
5.3.250.0040.02111.95
5.3.240.0040.02011.95
5.3.230.0070.01911.94
5.3.220.0040.02211.93
5.3.210.0040.02311.93
5.3.200.0070.02211.93
5.3.190.0050.02111.93
5.3.180.0040.03311.92
5.3.170.0040.02311.92
5.3.160.0040.02511.92
5.3.150.0050.02011.92
5.3.140.0060.02011.92
5.3.130.0060.02111.92
5.3.120.0070.02111.92
5.3.110.0040.02311.92
5.3.100.0040.02211.64
5.3.90.0060.02011.63
5.3.80.0070.01811.63
5.3.70.0020.02711.63
5.3.60.0030.02211.62
5.3.50.0030.02211.59
5.3.40.0070.02311.59
5.3.30.0060.02411.57
5.3.20.0030.02211.46
5.3.10.0040.02111.44
5.3.00.0060.02011.44
5.2.170.0030.01710.18
5.2.160.0060.01810.19
5.2.150.0020.01910.18
5.2.140.0060.01510.18
5.2.130.0020.02010.16
5.2.120.0050.01610.16
5.2.110.0020.01710.17
5.2.100.0050.01510.16
5.2.90.0050.01610.17
5.2.80.0030.01710.16
5.2.70.0040.01710.16
5.2.60.0050.01510.14
5.2.50.0070.01410.12
5.2.40.0030.01610.11
5.2.30.0050.01610.10
5.2.20.0030.01510.10
5.2.10.0020.01810.05
5.2.00.0030.0159.99
5.1.60.0010.0159.63
5.1.50.0020.0159.63
5.1.40.0050.0119.62
5.1.30.0050.0139.79
5.1.20.0040.0159.80
5.1.10.0040.0149.66
5.1.00.0060.0139.66
5.0.50.0020.0138.90
5.0.40.0060.0088.83
5.0.30.0020.0188.74
5.0.20.0030.0108.72
5.0.10.0010.0148.71
5.0.00.0060.0178.71
4.4.90.0030.0107.98
4.4.80.0030.0087.96
4.4.70.0020.0107.96
4.4.60.0010.0127.96
4.4.50.0010.0117.97
4.4.40.0010.0167.94
4.4.30.0020.0097.97
4.4.20.0020.0098.01
4.4.10.0020.0138.01
4.4.00.0020.0137.97
4.3.110.0020.0127.92
4.3.100.0030.0147.92
4.3.90.0010.0127.90
4.3.80.0040.0167.88
4.3.70.0020.0147.90
4.3.60.0040.0087.90
4.3.50.0030.0077.90
4.3.40.0030.0127.86
4.3.30.0030.0077.24
4.3.20.0020.0097.23
4.3.10.0020.0097.20
4.3.00.0020.00713.84

preferences:
41.62 ms | 401 KiB | 5 Q