3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( preg_match_all( '/ (?<LITERAL_STRING> [^{]* ) | (?<INLINE_TAG_START>{) (?<TAG_NAME>@\w+) \s* #(?: # (?<TAG_WORD>[\S]*) # (?<TAG_WHITESPACE>[\s]*) #)* (?<I>[\w|\s]*)* (?<INLINE_TAG_END>}) /ux', 'This is {@inline a tag with} a description {@see descriptions} that is divided', $matches, PREG_SET_ORDER ) ); foreach ($matches as $key => $match) { echo "\n" . $key . "\n"; foreach ($match as $innerKey => $element) { if (is_numeric($innerKey)) { continue; } echo $innerKey .': '. var_export($element, true) . "\n"; } }

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.0150.00016.86
8.3.50.0140.00716.63
8.3.40.0040.01118.92
8.3.30.0120.00319.17
8.3.20.0040.00420.34
8.3.10.0000.00820.77
8.3.00.0040.00419.38
8.2.180.0070.01416.88
8.2.170.0090.01222.96
8.2.160.0070.00720.35
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0030.00522.35
8.2.110.0000.01120.35
8.2.100.0060.00618.03
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0060.00617.75
8.2.60.0030.00517.80
8.2.50.0090.00318.07
8.2.40.0080.00018.34
8.2.30.0050.00519.30
8.2.20.0040.00417.92
8.2.10.0040.00418.24
8.2.00.0040.00418.09
8.1.280.0070.00725.92
8.1.270.0060.00323.83
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0030.00722.43
8.1.230.0120.00020.97
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0000.00817.47
8.1.190.0040.00417.48
8.1.180.0000.00919.30
8.1.170.0060.00318.77
8.1.160.0000.00722.00
8.1.150.0040.00418.93
8.1.140.0000.00717.69
8.1.130.0030.00317.89
8.1.120.0050.00217.66
8.1.110.0000.00717.52
8.1.100.0000.00717.62
8.1.90.0000.00717.52
8.1.80.0070.00017.64
8.1.70.0030.00317.64
8.1.60.0080.00017.81
8.1.50.0040.00417.70
8.1.40.0060.00317.65
8.1.30.0000.00817.85
8.1.20.0040.00417.79
8.1.10.0000.00817.67
8.1.00.0080.00017.64
8.0.300.0060.00318.77
8.0.290.0040.00417.00
8.0.280.0030.00318.39
8.0.270.0000.00917.23
8.0.260.0030.00317.30
8.0.250.0030.00317.18
8.0.240.0070.00017.19
8.0.230.0000.00717.18
8.0.220.0000.00717.24
8.0.210.0030.00317.26
8.0.200.0040.00417.23
8.0.190.0110.00017.15
8.0.180.0000.00817.09
8.0.170.0030.00617.06
8.0.160.0050.00317.09
8.0.150.0000.00816.96
8.0.140.0000.00717.09
8.0.130.0030.00313.60
8.0.120.0030.00517.08
8.0.110.0040.00417.15
8.0.100.0070.00017.20
8.0.90.0040.00417.21
8.0.80.0090.00917.13
8.0.70.0000.00817.24
8.0.60.0030.00517.18
8.0.50.0000.00716.99
8.0.30.0120.00917.40
8.0.20.0210.00217.49
8.0.10.0000.00717.31
8.0.00.0120.01117.04
7.4.330.0030.00315.19
7.4.320.0000.00616.95
7.4.300.0060.00016.86
7.4.290.0030.00316.82
7.4.280.0070.00316.91
7.4.270.0030.00316.86
7.4.260.0040.00416.70
7.4.250.0000.00816.67
7.4.240.0050.00216.87
7.4.230.0000.00716.84
7.4.220.0070.02017.00
7.4.210.0070.00716.77
7.4.200.0000.00717.02
7.4.160.0170.00316.80
7.4.150.0100.01317.40
7.4.140.0150.00517.86
7.4.130.0080.01016.65
7.4.120.0100.00716.79
7.4.110.0100.00616.75
7.4.100.0120.00416.64
7.4.90.0100.01116.75
7.4.80.0070.01019.37
7.4.70.0110.00516.74
7.4.60.0050.01116.64
7.4.50.0000.00616.87
7.4.40.0050.01416.68
7.4.30.0160.00616.75
7.4.00.0090.00815.25
7.3.330.0050.00313.17
7.3.320.0000.00613.33
7.3.310.0040.00416.57
7.3.300.0030.00316.55
7.3.290.0070.01016.53
7.3.280.0050.01216.50
7.3.270.0040.01417.40
7.3.260.0070.01016.80
7.3.250.0020.01916.55
7.3.240.0100.00716.79
7.3.230.0060.01316.55
7.3.210.0080.00816.69
7.3.200.0100.00719.39
7.3.190.0080.01516.43
7.3.180.0040.01116.79
7.3.170.0160.00616.70
7.3.160.0070.01716.75
7.3.120.0040.01515.07
7.3.110.0110.00715.07
7.3.100.0000.01514.81
7.3.90.0000.01714.79
7.3.80.0070.01014.83
7.3.70.0090.00615.14
7.3.60.0070.01015.07
7.3.50.0110.00715.20
7.3.40.0100.00014.89
7.3.30.0040.00815.08
7.3.20.0060.00616.54
7.3.10.0070.00316.76
7.3.00.0020.00716.56
7.2.330.0110.00716.66
7.2.320.0030.01416.86
7.2.310.0060.01116.87
7.2.300.0070.01016.61
7.2.290.0090.01216.85
7.2.250.0030.01415.12
7.2.240.0000.02015.11
7.2.230.0120.00315.23
7.2.220.0030.01615.32
7.2.210.0030.01015.19
7.2.200.0090.00915.05
7.2.190.0000.01815.41
7.2.180.0100.00315.19
7.2.170.0000.01215.33
7.2.130.0000.01417.16
7.2.120.0030.00616.96
7.2.110.0000.00916.91
7.2.100.0030.00916.99
7.2.90.0100.00717.08
7.2.80.0050.00516.86
7.2.70.0060.00617.25
7.2.60.0080.00616.93
7.2.50.0190.00017.22
7.2.40.0130.00317.19
7.2.30.0130.00317.21
7.2.20.0100.00717.02
7.2.10.0030.00616.80
7.2.00.0050.00718.39
7.1.330.0000.01316.09
7.1.320.0000.01416.02
7.1.310.0060.01216.17
7.1.300.0060.01016.07
7.1.290.0000.01415.68
7.1.280.0090.00616.00
7.1.270.0040.01115.96
7.1.260.0040.00816.02
7.1.250.0080.00315.91
7.1.240.0090.00615.80
7.1.230.0100.00716.05
7.1.220.0000.01316.13
7.1.210.0100.00315.66
7.1.200.0030.00915.86
7.1.190.0040.00716.02
7.1.180.0070.00715.87
7.1.170.0060.00916.04
7.1.160.0030.00616.07
7.1.150.0030.01315.79
7.1.140.0030.01015.93
7.1.130.0130.00016.03
7.1.120.0070.00716.00
7.1.110.0040.01115.94
7.1.100.0030.01017.13
7.1.90.0060.01016.13
7.1.80.0000.01516.00
7.1.70.0050.00616.62
7.1.60.0090.01117.51
7.1.50.0080.01016.60
7.1.40.0000.01115.85
7.1.30.0090.00315.97
7.1.20.0080.00416.13
7.1.10.0000.01515.73
7.1.00.0080.03819.07
7.0.330.0000.01015.56
7.0.320.0060.00615.32
7.0.310.0090.00415.63
7.0.300.0000.01215.61
7.0.290.0060.00615.68
7.0.280.0000.01215.65
7.0.270.0110.00315.64
7.0.260.0070.00415.62
7.0.250.0000.01315.64
7.0.240.0030.01215.69
7.0.230.0070.01015.71
7.0.220.0090.00615.60
7.0.210.0090.00615.57
7.0.200.0090.00316.08
7.0.190.0080.00615.58
7.0.180.0100.00615.64
7.0.170.0130.00315.70
7.0.160.0000.01115.45
7.0.150.0060.00615.41
7.0.140.0090.03818.72
7.0.130.0030.01015.41
7.0.120.0100.00315.67
7.0.110.0070.00715.65
7.0.100.0020.02617.75
7.0.90.0230.04217.76
7.0.80.0150.04417.72
7.0.70.0180.04017.66
7.0.60.0220.03617.82
7.0.50.0070.02617.97
7.0.40.0180.01716.91
7.0.30.0030.04316.89
7.0.20.0050.03216.89
7.0.10.0130.03716.90
7.0.00.0080.02816.77
5.6.380.0030.00714.60
5.6.370.0060.00914.12
5.6.360.0060.00614.09
5.6.350.0070.00414.27
5.6.340.0030.01014.71
5.6.330.0070.00714.25
5.6.320.0090.00314.38
5.6.310.0090.00614.69
5.6.300.0040.01114.38
5.6.290.0130.00314.34
5.6.280.0110.04317.68
5.6.270.0090.00014.61
5.6.260.0090.00414.05
5.6.250.0080.02517.45
5.6.240.0080.02317.46
5.6.230.0150.03817.39
5.6.220.0110.02617.56
5.6.210.0130.03817.43
5.6.200.0100.03117.87
5.6.190.0160.04017.72
5.6.180.0110.03917.62
5.6.170.0050.04617.86
5.6.160.0120.04417.64
5.6.150.0030.04317.65
5.6.140.0050.05217.76
5.6.130.0050.03617.65
5.6.120.0080.04317.90
5.6.110.0070.04717.69
5.6.100.0050.05017.61
5.6.90.0120.03417.57
5.6.80.0150.02317.24
5.6.70.0110.03817.29
5.6.60.0050.04417.24
5.6.50.0060.03217.40
5.6.40.0090.02517.27
5.6.30.0090.03717.28
5.6.20.0070.04317.26
5.6.10.0020.04117.32
5.6.00.0020.02717.35
5.5.380.0050.02515.81
5.5.370.0010.03215.63
5.5.360.0070.04115.77
5.5.350.0080.02315.67
5.5.340.0050.03115.88
5.5.330.0070.02615.99
5.5.320.0060.04315.94
5.5.310.0030.03116.13
5.5.300.0090.04415.94
5.5.290.0060.03615.86
5.5.280.0060.04116.00
5.5.270.0080.04115.91
5.5.260.0060.02115.98
5.5.250.0030.03015.89
5.5.240.0050.04215.56
5.5.230.0090.02415.53
5.5.220.0060.03115.55
5.5.210.0030.04015.46
5.5.200.0070.02415.59
5.5.190.0080.04015.57
5.5.180.0050.03415.52
5.5.170.0060.00311.12
5.5.160.0040.03215.51
5.5.150.0050.03515.62
5.5.140.0060.02015.54
5.5.130.0050.03815.65
5.5.120.0040.04215.52
5.5.110.0080.04015.57
5.5.100.0020.03215.50
5.5.90.0080.02015.54
5.5.80.0040.02215.48
5.5.70.0030.02815.55
5.5.60.0080.03115.48
5.5.50.0090.03815.49
5.5.40.0060.02215.60
5.5.30.0120.03015.51
5.5.20.0020.04615.53
5.5.10.0050.02615.44
5.5.00.0050.04515.46
5.4.450.0150.03515.19
5.4.440.0090.03915.20
5.4.430.0060.04015.17
5.4.420.0080.04015.06
5.4.410.0070.03715.12
5.4.400.0170.02814.93
5.4.390.0040.04315.15
5.4.380.0020.04414.85
5.4.370.0050.04415.02
5.4.360.0070.03514.97
5.4.350.0030.04615.01
5.4.340.0060.02815.02
5.4.330.0050.00511.21
5.4.320.0070.02914.93
5.4.310.0050.03815.01
5.4.300.0030.04115.08
5.4.290.0070.03315.05
5.4.280.0050.04415.06
5.4.270.0100.03515.16
5.4.260.0080.03515.03
5.4.250.0030.03014.90
5.4.240.0020.02814.98
5.4.230.0000.03915.12
5.4.220.0030.04315.05
5.4.210.0030.04014.92
5.4.200.0060.04014.99
5.4.190.0090.01815.03
5.4.180.0030.03514.98
5.4.170.0000.02914.96
5.4.160.0030.04414.92
5.4.150.0020.04215.18
5.4.140.0050.03513.77
5.4.130.0090.03213.62
5.4.120.0050.03613.55
5.4.110.0070.03313.67
5.4.100.0040.03913.65
5.4.90.0000.04013.69
5.4.80.0040.04013.58
5.4.70.0080.01713.64
5.4.60.0050.02113.66
5.4.50.0050.03913.78
5.4.40.0090.03813.62
5.4.30.0110.01713.68
5.4.20.0050.02213.64
5.4.10.0060.03813.54
5.4.00.0020.04113.23
5.3.290.0010.02212.76
5.3.280.0000.03012.74
5.3.270.0080.03012.67
5.3.260.0060.03812.73
5.3.250.0030.03812.74
5.3.240.0020.02912.75
5.3.230.0100.01912.73
5.3.220.0060.03812.66
5.3.210.0030.04212.71
5.3.200.0030.04212.71
5.3.190.0050.04012.67
5.3.180.0050.03812.65
5.3.170.0030.02112.73
5.3.160.0020.03912.66
5.3.150.0080.03512.71
5.3.140.0030.03812.71
5.3.130.0070.04212.71
5.3.120.0030.03012.72
5.3.110.0030.04312.73
5.3.100.0100.01812.46
5.3.90.0030.03012.45
5.3.80.0030.03712.45
5.3.70.0050.03812.44
5.3.60.0060.03812.41
5.3.50.0070.03012.40
5.3.40.0050.03712.35
5.3.30.0080.02312.29
5.3.20.0080.03212.24
5.3.10.0020.02312.26
5.3.00.0070.03812.28
5.2.170.0030.02211.96
5.2.160.0020.02311.96
5.2.150.0060.02811.96
5.2.140.0040.03311.96
5.2.130.0050.02711.96
5.2.120.0050.03311.96
5.2.110.0030.03311.96
5.2.100.0020.03111.96
5.2.90.0020.03011.96
5.2.80.0070.01711.96
5.2.70.0100.02711.96
5.2.60.0050.03011.96
5.2.50.0030.02711.96
5.2.40.0030.02611.96
5.2.30.0030.02111.96
5.2.20.0050.01811.96
5.2.10.0020.02011.96
5.2.00.0000.02711.96
5.1.60.0060.02511.96
5.1.50.0020.02511.96
5.1.40.0000.03111.96
5.1.30.0050.03011.96
5.1.20.0050.03111.96
5.1.10.0030.01711.96
5.1.00.0000.03311.96
5.0.50.0000.02711.96
5.0.40.0030.02211.96
5.0.30.0020.02611.96
5.0.20.0000.02211.96
5.0.10.0030.01811.96
5.0.00.0070.02811.96
4.4.90.0040.01211.96
4.4.80.0010.01111.96
4.4.70.0060.01711.96
4.4.60.0030.01811.96
4.4.50.0000.01811.96
4.4.40.0050.02611.96
4.4.30.0050.01811.96
4.4.20.0030.01311.96
4.4.10.0040.01711.96
4.4.00.0020.01411.96
4.3.110.0020.02011.96
4.3.100.0020.01911.96
4.3.90.0020.02011.96
4.3.80.0020.01411.96
4.3.70.0020.01011.96
4.3.60.0050.01211.96
4.3.50.0000.01811.96
4.3.40.0000.02011.96
4.3.30.0000.02311.96
4.3.20.0020.01811.96
4.3.10.0000.02111.96
4.3.00.0020.01011.96

preferences:
65.09 ms | 400 KiB | 5 Q