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-_]+).*(?=\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.0090.00518.18
8.3.50.0090.01121.15
8.3.40.0070.00718.64
8.3.30.0070.00719.10
8.3.20.0040.00420.38
8.3.10.0000.00820.70
8.3.00.0080.00019.26
8.2.180.0170.00318.54
8.2.170.0090.00622.96
8.2.160.0030.01020.27
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0060.00322.06
8.2.110.0090.00020.39
8.2.100.0110.00018.03
8.2.90.0050.00319.17
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0070.00217.80
8.2.50.0080.00418.07
8.2.40.0040.00418.16
8.2.30.0030.00617.99
8.2.20.0000.00817.64
8.2.10.0040.00417.94
8.2.00.0040.00417.66
8.1.280.0170.00425.92
8.1.270.0000.00923.79
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0050.00323.96
8.1.230.0110.00019.15
8.1.220.0050.00317.74
8.1.210.0090.00018.77
8.1.200.0060.00317.35
8.1.190.0030.00517.35
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0020.00521.86
8.1.150.0000.00718.95
8.1.140.0080.00017.46
8.1.130.0000.00717.95
8.1.120.0070.00017.38
8.1.110.0040.00417.26
8.1.100.0040.00417.48
8.1.90.0000.00717.30
8.1.80.0000.00817.43
8.1.70.0050.00217.32
8.1.60.0000.00717.48
8.1.50.0080.00017.34
8.1.40.0030.00617.42
8.1.30.0040.00417.61
8.1.20.0030.00517.59
8.1.10.0050.00317.43
8.1.00.0030.00517.44
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0070.00018.27
8.0.270.0030.00317.27
8.0.260.0030.00317.21
8.0.250.0030.00317.02
8.0.240.0000.00716.86
8.0.230.0030.00316.93
8.0.220.0030.00316.93
8.0.210.0000.00716.94
8.0.200.0030.00316.96
8.0.190.0100.00016.90
8.0.180.0040.00816.82
8.0.170.0000.00816.90
8.0.160.0000.00716.73
8.0.150.0030.00316.86
8.0.140.0040.00416.86
8.0.130.0050.00013.32
8.0.120.0080.00016.92
8.0.110.0050.00216.93
8.0.100.0070.00016.84
8.0.90.0050.00217.02
8.0.80.0120.00317.03
8.0.70.0000.00716.84
8.0.60.0050.00316.98
8.0.50.0040.00416.86
8.0.30.0060.01317.02
8.0.20.0140.00517.40
8.0.10.0070.00017.16
8.0.00.0100.00816.82
7.4.330.0050.00015.03
7.4.320.0070.00016.52
7.4.300.0030.00316.55
7.4.290.0030.00316.57
7.4.280.0040.00416.54
7.4.270.0070.00016.64
7.4.260.0000.00716.57
7.4.250.0030.00416.66
7.4.240.0040.00316.55
7.4.230.0000.00716.62
7.4.220.0170.00316.59
7.4.210.0110.00416.73
7.4.200.0040.00416.72
7.4.160.0030.01216.52
7.4.150.0090.00917.40
7.4.140.0110.00917.86
7.4.130.0120.00716.57
7.4.120.0070.01116.50
7.4.110.0030.01316.36
7.4.100.0090.00916.71
7.4.90.0110.00716.50
7.4.80.0000.01619.39
7.4.70.0080.01216.52
7.4.60.0040.01116.54
7.4.50.0000.00516.44
7.4.40.0070.01016.64
7.4.30.0100.00716.44
7.4.00.0030.01414.87
7.3.330.0030.00313.14
7.3.320.0050.00013.12
7.3.310.0040.00416.22
7.3.300.0030.00316.23
7.3.290.0030.01116.32
7.3.280.0080.01116.26
7.3.270.0070.01317.40
7.3.260.0170.00016.27
7.3.250.0090.01216.25
7.3.240.0120.00416.15
7.3.230.0040.01216.43
7.3.210.0080.00916.10
7.3.200.0050.01619.39
7.3.190.0030.01516.27
7.3.180.0060.01016.71
7.3.170.0030.01316.37
7.3.160.0100.01416.38
7.2.330.0150.00916.48
7.2.320.0060.01216.70
7.2.310.0060.01616.50
7.2.300.0100.00716.58
7.2.290.0140.00816.57
7.2.00.0060.00919.47
7.1.100.0060.00617.80
7.1.70.0000.01017.37
7.1.60.0100.01319.32
7.1.50.0100.00617.23
7.1.00.0000.07722.39
7.0.200.0040.00416.68
7.0.140.0070.07322.08
7.0.60.0130.05719.91
7.0.50.0030.04017.84
7.0.40.0030.05020.11
7.0.30.0500.06320.11
7.0.20.0130.05720.02
7.0.10.0030.08020.02
7.0.00.0030.04020.18
5.6.280.0070.07021.07
5.6.210.0170.06320.61
5.6.200.0070.08718.18
5.6.190.0100.07720.43
5.6.180.0770.06020.49
5.6.170.0370.06720.38
5.6.160.0070.08320.41
5.6.150.0030.04318.18
5.6.140.0130.04018.16
5.6.130.0070.06718.15
5.6.120.0070.06320.75
5.6.110.0000.04721.00
5.6.100.0100.03720.98
5.6.90.0030.04321.02
5.6.80.0200.06720.39
5.5.350.0200.07020.48
5.5.340.0100.07317.96
5.5.330.0170.04020.14
5.5.320.0430.06020.30
5.5.310.0370.07720.26
5.5.300.0070.07317.98
5.5.290.0030.04017.90
5.5.280.0100.08320.89
5.5.270.0130.07720.78
5.5.260.0030.08320.79
5.5.250.0030.04020.56
5.5.240.0170.08020.25
5.4.450.1500.03719.57
5.4.440.0100.06319.51
5.4.430.0170.05319.53
5.4.420.0630.00019.49
5.4.410.0630.00019.38
5.4.400.0630.00019.22
5.4.390.0630.00019.26
5.4.380.0630.00019.16
5.4.370.0630.00019.15
5.4.360.0800.00018.98
5.4.350.0670.00019.18
5.4.340.0630.00019.05
5.4.320.0030.04012.45
5.4.310.0050.04012.45
5.4.300.0060.04112.46
5.4.290.0060.03812.45
5.4.280.0060.04812.35
5.4.270.0070.04012.35
5.4.260.0060.03812.35
5.4.250.0050.03812.35
5.4.240.0050.03712.35
5.4.230.0070.03712.34
5.4.220.0070.03512.34
5.4.210.0050.04612.34
5.4.200.0080.04012.34
5.4.190.0040.03712.34
5.4.180.0070.03412.34
5.4.170.0090.03412.35
5.4.160.0050.03712.34
5.4.150.0080.03412.34
5.4.140.0080.03612.02
5.4.130.0060.03612.01
5.4.120.0040.04411.97
5.4.110.0050.03811.96
5.4.100.0070.03411.96
5.4.90.0060.03811.96
5.4.80.0080.03711.96
5.4.70.0070.03311.96
5.4.60.0030.03711.96
5.4.50.0080.03911.96
5.4.40.0070.03511.95
5.4.30.0040.03811.95
5.4.20.0050.03711.95
5.4.10.0080.03311.95
5.4.00.0070.03511.44
5.3.290.0040.04112.80
5.3.280.0060.03712.70
5.3.270.0090.03612.73
5.3.260.0070.03812.72
5.3.250.0060.03712.72
5.3.240.0050.03712.72
5.3.230.0040.03912.71
5.3.220.0070.03512.68
5.3.210.0060.03812.68
5.3.200.0040.03912.68
5.3.190.0070.03612.68
5.3.180.0090.03312.67
5.3.170.0030.04012.67
5.3.160.0050.04112.68
5.3.150.0050.04112.67
5.3.140.0080.04712.66
5.3.130.0060.04612.66
5.3.120.0060.04012.66
5.3.110.0050.04012.66
5.3.100.0060.03612.12
5.3.90.0060.03612.08
5.3.80.0050.03712.07
5.3.70.0050.03812.08
5.3.60.0050.04112.06
5.3.50.0040.03812.00
5.3.40.0050.03712.00
5.3.30.0040.03611.96
5.3.20.0070.03411.74
5.3.10.0030.03611.71
5.3.00.0060.03511.69
5.2.170.0050.0309.19
5.2.160.0050.0299.19
5.2.150.0050.0319.19
5.2.140.0050.0309.19
5.2.130.0040.0309.15
5.2.120.0020.0329.15
5.2.110.0040.0349.16
5.2.100.0040.0299.16
5.2.90.0040.0339.15
5.2.80.0040.0319.15
5.2.70.0030.0339.15
5.2.60.0060.0309.10
5.2.50.0090.0269.07
5.2.40.0050.0289.05
5.2.30.0060.0289.03
5.2.20.0060.0289.02
5.2.10.0040.0298.92
5.2.00.0030.0308.78
5.1.60.0020.0258.06
5.1.50.0080.0268.06
5.1.40.0050.0298.04
5.1.30.0050.0268.39
5.1.20.0060.0258.41
5.1.10.0040.0268.13
5.1.00.0040.0268.14
5.0.50.0050.0196.61
5.0.40.0020.0236.47
5.0.30.0030.0326.29
5.0.20.0020.0206.26
5.0.10.0040.0196.24
5.0.00.0040.0306.23
4.4.90.0030.0204.78
4.4.80.0020.0164.76
4.4.70.0030.0164.75
4.4.60.0060.0124.75
4.4.50.0020.0164.77
4.4.40.0040.0234.71
4.4.30.0000.0184.76
4.4.20.0020.0164.85
4.4.10.0040.0144.85
4.4.00.0020.0254.76
4.3.110.0030.0154.67
4.3.100.0020.0184.66
4.3.90.0010.0164.63
4.3.80.0040.0224.58
4.3.70.0030.0144.63
4.3.60.0050.0124.62
4.3.50.0010.0184.63
4.3.40.0030.0314.54
4.3.30.0020.0223.28
4.3.20.0010.0213.26
4.3.10.0010.0173.22
4.3.00.0100.01713.28

preferences:
44.59 ms | 401 KiB | 5 Q