3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = ' @see MyType this is a @description spanning over multiple lines. @ignore @link http://www.phpdoc.org'; preg_match_all('/(?:\A|\n)\s*(?<T_TAG_NAME>@[\pL-_]+)\s*(.*)(?=\n?)/ux', $content, $matches, PREG_SET_ORDER); var_dump($matches); preg_match_all('/(?<T_TAG_NAME>@[\pL-_]+)[\s]*(?<TAG_CONTENT>[\s\S]*)(?=\n\s*\@)/ux', $content, $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.0140.00018.29
8.3.50.0120.00721.99
8.3.40.0090.00618.68
8.3.30.0070.00718.83
8.3.20.0050.00220.21
8.3.10.0030.00520.61
8.3.00.0080.00019.38
8.2.180.0070.01018.54
8.2.170.0070.01422.96
8.2.160.0140.00020.57
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00422.00
8.2.110.0090.00019.39
8.2.100.0100.00018.16
8.2.90.0060.00319.05
8.2.80.0040.00417.97
8.2.70.0000.00817.75
8.2.60.0000.00817.92
8.2.50.0030.00818.07
8.2.40.0060.00318.21
8.2.30.0040.00418.07
8.2.20.0030.00517.81
8.2.10.0080.00018.05
8.2.00.0040.00417.63
8.1.280.0100.00725.92
8.1.270.0050.00323.92
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0060.00321.00
8.1.230.0110.00019.08
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0090.00017.23
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0030.00618.52
8.1.160.0000.00721.87
8.1.150.0000.00718.75
8.1.140.0040.00417.53
8.1.130.0040.00417.91
8.1.120.0030.00317.24
8.1.110.0000.00717.40
8.1.100.0080.00017.30
8.1.90.0000.00817.39
8.1.80.0080.00017.33
8.1.70.0000.00717.32
8.1.60.0000.00717.52
8.1.50.0090.00017.50
8.1.40.0020.00517.51
8.1.30.0000.00817.58
8.1.20.0030.00617.59
8.1.10.0080.00017.39
8.1.00.0030.00617.42
8.0.300.0090.00018.77
8.0.290.0080.00016.75
8.0.280.0000.00718.30
8.0.270.0040.00417.20
8.0.260.0000.00717.21
8.0.250.0030.00316.97
8.0.240.0030.00316.99
8.0.230.0070.00016.98
8.0.220.0070.00016.95
8.0.210.0000.00816.86
8.0.200.0030.00316.92
8.0.190.0060.00316.83
8.0.180.0090.00316.98
8.0.170.0000.00816.99
8.0.160.0000.00716.88
8.0.150.0000.00716.87
8.0.140.0030.00416.86
8.0.130.0050.00013.38
8.0.120.0000.00816.90
8.0.110.0030.00516.87
8.0.100.0060.00316.92
8.0.90.0040.00416.91
8.0.80.0060.01216.92
8.0.70.0040.00416.86
8.0.60.0040.00416.95
8.0.50.0040.00417.03
8.0.30.0150.00517.17
8.0.20.0130.00917.40
8.0.10.0050.00317.14
8.0.00.0110.00816.91
7.4.330.0060.00015.00
7.4.320.0000.00616.63
7.4.300.0070.00016.70
7.4.290.0070.00016.48
7.4.280.0000.00716.48
7.4.270.0030.00316.69
7.4.260.0000.00716.57
7.4.250.0000.00816.65
7.4.240.0020.00616.48
7.4.230.0040.00416.57
7.4.220.0060.01116.62
7.4.210.0170.00016.60
7.4.200.0030.00316.75
7.4.160.0070.00716.33
7.4.150.0140.01117.40
7.4.140.0120.00517.86
7.4.130.0080.00916.59
7.4.120.0100.00716.56
7.4.110.0090.00616.44
7.4.100.0170.00416.58
7.4.90.0180.00316.73
7.4.80.0110.00719.39
7.4.70.0120.00616.45
7.4.60.0150.00816.54
7.4.50.0000.00416.30
7.4.40.0160.00016.54
7.4.30.0160.01016.52
7.4.00.0000.01515.09
7.3.330.0030.00313.09
7.3.320.0060.00013.03
7.3.310.0000.00716.14
7.3.300.0030.00316.26
7.3.290.0040.01116.23
7.3.280.0100.00616.22
7.3.270.0030.01617.40
7.3.260.0090.00816.24
7.3.250.0130.00816.36
7.3.240.0150.00616.50
7.3.230.0070.01016.39
7.3.210.0130.00316.26
7.3.200.0100.01319.39
7.3.190.0110.00616.28
7.3.180.0120.01216.29
7.3.170.0080.00816.27
7.3.160.0150.00316.61
7.2.330.0090.01216.50
7.2.320.0060.01016.41
7.2.310.0100.01016.77
7.2.300.0120.00616.44
7.2.290.0110.01116.51
7.2.00.0080.00319.45
7.1.100.0080.00418.20
7.1.70.0060.00317.22
7.1.60.0200.00319.32
7.1.50.0140.00717.13
7.1.00.0070.07322.48
7.0.200.0060.00316.92
7.0.140.0130.06721.95
7.0.60.0070.04319.75
7.0.50.0070.08317.83
7.0.40.0200.05319.93
7.0.30.0530.08020.32
7.0.20.0230.08320.02
7.0.10.0070.05020.06
7.0.00.0070.08720.18
5.6.210.0130.07320.71
5.6.200.0070.08718.21
5.6.190.0030.09320.48
5.6.180.0400.04020.39
5.6.170.0230.04320.42
5.6.160.0070.06020.46
5.6.150.0100.07718.20
5.6.140.0030.07018.21
5.6.130.0000.04318.12
5.6.120.0070.08720.91
5.6.110.0070.04021.10
5.6.100.0000.04720.94
5.6.90.0070.04021.09
5.6.80.0070.04320.40
5.5.350.0170.05320.32
5.5.340.0000.07317.92
5.5.330.0070.07020.20
5.5.320.0400.07320.20
5.5.310.0400.06320.32
5.5.300.0000.04717.91
5.5.290.0100.07317.92
5.5.280.0100.07320.88
5.5.270.0030.08320.85
5.5.260.0070.07020.96
5.5.250.0200.06020.78
5.5.240.0200.06720.18
5.4.450.1000.06319.58
5.4.440.0770.05019.15
5.4.430.0930.05019.51
5.4.420.0670.00019.46
5.4.410.0630.00019.16
5.4.400.0630.00019.09
5.4.390.0630.00019.04
5.4.380.0630.00018.98
5.4.370.0630.00018.92
5.4.360.0600.00019.14
5.4.350.0630.00018.96
5.4.340.0630.00018.94
5.4.320.0090.03812.46
5.4.310.0040.04212.45
5.4.300.0070.03512.46
5.4.290.0040.03912.45
5.4.280.0100.03012.35
5.4.270.0070.03512.35
5.4.260.0060.03712.35
5.4.250.0060.03812.36
5.4.240.0050.03912.36
5.4.230.0040.03912.35
5.4.220.0070.03512.35
5.4.210.0070.03712.35
5.4.200.0080.04312.35
5.4.190.0100.03412.34
5.4.180.0060.03812.34
5.4.170.0090.03412.35
5.4.160.0060.03612.34
5.4.150.0060.03612.34
5.4.140.0120.03212.02
5.4.130.0090.03212.02
5.4.120.0100.03511.97
5.4.110.0060.03511.97
5.4.100.0060.03411.97
5.4.90.0070.03911.96
5.4.80.0060.03711.96
5.4.70.0040.03711.96
5.4.60.0050.03511.96
5.4.50.0020.03811.96
5.4.40.0080.03311.95
5.4.30.0060.03711.95
5.4.20.0060.03611.95
5.4.10.0020.03911.95
5.4.00.0070.03411.44
5.3.290.0080.04012.80
5.3.280.0050.03912.71
5.3.270.0060.04112.72
5.3.260.0050.04512.72
5.3.250.0060.03712.72
5.3.240.0090.03712.72
5.3.230.0090.04012.71
5.3.220.0060.03612.68
5.3.210.0100.03812.68
5.3.200.0070.03812.68
5.3.190.0080.04512.68
5.3.180.0070.04912.68
5.3.170.0070.05012.66
5.3.160.0060.04312.67
5.3.150.0060.03712.68
5.3.140.0030.03912.66
5.3.130.0060.04312.66
5.3.120.0060.05512.66
5.3.110.0060.04112.66
5.3.100.0060.04012.12
5.3.90.0060.03912.08
5.3.80.0050.04412.08
5.3.70.0070.04012.08
5.3.60.0120.04112.06
5.3.50.0100.04612.00
5.3.40.0100.04212.00
5.3.30.0140.04311.96
5.3.20.0140.03911.75
5.3.10.0090.04011.70
5.3.00.0080.03911.69
5.2.170.0050.0369.19
5.2.160.0060.0299.19
5.2.150.0050.0309.20
5.2.140.0040.0359.19
5.2.130.0060.0319.14
5.2.120.0030.0309.15
5.2.110.0040.0319.16
5.2.100.0070.0269.16
5.2.90.0030.0319.15
5.2.80.0060.0309.15
5.2.70.0050.0309.15
5.2.60.0060.0299.11
5.2.50.0060.0299.07
5.2.40.0050.0289.05
5.2.30.0080.0269.03
5.2.20.0070.0269.02
5.2.10.0040.0288.92
5.2.00.0070.0268.78
5.1.60.0060.0228.06
5.1.50.0060.0238.05
5.1.40.0030.0258.04
5.1.30.0030.0278.39
5.1.20.0050.0308.41
5.1.10.0050.0258.14
5.1.00.0050.0248.13
5.0.50.0060.0186.61
5.0.40.0020.0216.47
5.0.30.0030.0336.29
5.0.20.0050.0206.26
5.0.10.0050.0206.23
5.0.00.0020.0336.23
4.4.90.0040.0154.78
4.4.80.0040.0144.76
4.4.70.0030.0164.76
4.4.60.0040.0144.75
4.4.50.0030.0164.77
4.4.40.0040.0244.70
4.4.30.0000.0184.76
4.4.20.0030.0154.84
4.4.10.0010.0184.85
4.4.00.0030.0244.76
4.3.110.0040.0144.67
4.3.100.0040.0134.67
4.3.90.0020.0154.63
4.3.80.0020.0244.58
4.3.70.0030.0144.63
4.3.60.0020.0154.63
4.3.50.0040.0144.63
4.3.40.0030.0244.53
4.3.30.0020.0163.28
4.3.20.0020.0163.26
4.3.10.0000.0173.22
4.3.00.0130.01313.28

preferences:
40.09 ms | 401 KiB | 5 Q