3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = array( '#tag', 'text #tag text', 'text #tag', 'text#tag', ); $res = preg_filter('/\b#(\S{1,24}+)/u', '<$0>' , $var); print_r($res);

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.40.0090.00618.88
8.3.30.0110.00418.79
8.3.20.0040.00418.73
8.3.10.0080.00020.78
8.3.00.0000.00823.52
8.2.170.0110.00422.96
8.2.160.0100.00320.35
8.2.150.0050.00324.18
8.2.140.0040.00724.66
8.2.130.0040.00426.16
8.2.120.0080.00019.73
8.2.110.0050.00520.35
8.2.100.0090.00317.97
8.2.90.0040.00419.22
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0030.00618.04
8.2.50.0030.00718.07
8.2.40.0000.00718.16
8.2.30.0090.00019.98
8.2.20.0040.00417.84
8.2.10.0040.00417.80
8.2.00.0060.00318.00
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.52
8.1.230.0080.00420.96
8.1.220.0040.00418.77
8.1.210.0040.00418.77
8.1.200.0000.01217.48
8.1.190.0040.00417.30
8.1.180.0090.00018.10
8.1.170.0040.00418.91
8.1.160.0000.00718.86
8.1.150.0050.00318.77
8.1.140.0060.00317.49
8.1.130.0030.00317.91
8.1.120.0000.00717.43
8.1.110.0000.00717.50
8.1.100.0000.00717.49
8.1.90.0050.00217.45
8.1.80.0040.00417.52
8.1.70.0030.00317.49
8.1.60.0030.00617.67
8.1.50.0030.00617.38
8.1.40.0040.00417.63
8.1.30.0040.00417.71
8.1.20.0040.00417.79
8.1.10.0040.00417.59
8.1.00.0050.00217.41
8.0.300.0040.00419.89
8.0.290.0040.00417.05
8.0.280.0030.00518.34
8.0.270.0000.00717.19
8.0.260.0030.00318.76
8.0.250.0070.00017.11
8.0.240.0100.00017.07
8.0.230.0070.00017.15
8.0.220.0030.00316.98
8.0.210.0000.00717.02
8.0.200.0000.00617.06
8.0.190.0000.00717.02
8.0.180.0030.00317.08
8.0.170.0080.00017.01
8.0.160.0070.00416.99
8.0.150.0000.00717.04
8.0.140.0030.00817.03
8.0.130.0030.00313.50
8.0.120.0000.00717.05
8.0.110.0000.00716.93
8.0.100.0050.00217.05
8.0.90.0070.00016.93
8.0.80.0080.00817.08
8.0.70.0050.00317.09
8.0.60.0050.00217.16
8.0.50.0070.00017.14
8.0.30.0160.00517.19
8.0.20.0090.00917.40
8.0.10.0030.00517.10
8.0.00.0140.00916.80
7.4.330.0030.00313.43
7.4.320.0030.00316.82
7.4.300.0060.00016.80
7.4.290.0050.00316.79
7.4.280.0040.00416.79
7.4.270.0000.00616.79
7.4.260.0000.00613.37
7.4.250.0030.00716.82
7.4.240.0070.00016.70
7.4.230.0000.00816.79
7.4.220.0120.00916.80
7.4.210.0070.01016.70
7.4.200.0070.00016.51
7.4.190.0000.00716.55
7.4.160.0030.01316.71
7.4.150.0060.01317.40
7.4.140.0130.00517.86
7.4.130.0120.00616.65
7.4.120.0110.00916.71
7.4.110.0100.00716.59
7.4.100.0070.01016.75
7.4.90.0070.01116.54
7.4.80.0070.01319.04
7.4.70.0100.01316.65
7.4.60.0110.00516.60
7.4.50.0090.00016.53
7.4.40.0040.00722.27
7.4.30.0100.00716.73
7.4.00.0070.00714.91
7.3.330.0000.00513.21
7.3.320.0090.00013.19
7.3.310.0050.00216.36
7.3.300.0000.00716.30
7.3.290.0100.00316.41
7.3.280.0110.00516.35
7.3.270.0130.00317.40
7.3.260.0150.00418.24
7.3.250.0080.01116.55
7.3.240.0030.01516.43
7.3.230.0070.01016.39
7.3.210.0070.01016.45
7.3.200.0130.00619.39
7.3.190.0110.00616.28
7.3.180.0040.01216.64
7.3.170.0060.00916.68
7.3.160.0090.00916.46
7.3.120.0040.01214.71
7.3.110.0130.00315.05
7.3.100.0100.00714.91
7.3.90.0070.00414.83
7.3.80.0040.01214.88
7.3.70.0100.00714.69
7.3.60.0040.00814.98
7.3.50.0030.00614.93
7.3.40.0030.00714.80
7.3.30.0030.01014.79
7.3.20.0060.00916.64
7.3.10.0040.01116.80
7.3.00.0100.00316.36
7.2.330.0070.01716.54
7.2.320.0150.00616.63
7.2.310.0060.01316.61
7.2.300.0070.01016.60
7.2.290.0090.01316.72
7.2.240.0060.01015.11
7.2.230.0060.01215.27
7.2.220.0070.00715.11
7.2.210.0040.01114.84
7.2.200.0090.00615.18
7.2.190.0150.00015.21
7.2.180.0070.01014.93
7.2.170.0030.01415.16
7.2.160.0000.01815.26
7.2.150.0000.01716.66
7.2.140.0130.00317.03
7.2.130.0100.00317.16
7.2.120.0110.00716.97
7.2.110.0000.01217.11
7.2.100.0030.01316.88
7.2.90.0100.00317.08
7.2.80.0030.01317.23
7.2.70.0110.00617.07
7.2.60.0000.01017.05
7.2.50.0070.00717.04
7.2.40.0060.00617.04
7.2.30.0030.01016.82
7.2.20.0030.01216.65
7.2.10.0040.00716.93
7.2.00.0040.00816.82
7.1.330.0000.01716.04
7.1.320.0040.01115.75
7.1.310.0110.00015.92
7.1.300.0060.01215.91
7.1.290.0070.01015.88
7.1.280.0110.00315.71
7.1.270.0130.00315.78
7.1.260.0030.01015.96
7.1.250.0070.00715.81
7.1.70.0090.00617.35
7.1.60.0140.01119.40
7.1.50.0060.01617.28
7.1.00.0030.04022.38
7.0.200.0030.00516.92
7.0.140.0030.07322.00
7.0.60.0100.05019.95
7.0.50.0070.08017.86
7.0.40.0200.08720.04
7.0.30.0470.07320.26
7.0.20.0230.08020.32
7.0.10.0200.07720.21
7.0.00.0130.05320.27
5.6.280.0100.06720.77
5.6.210.0100.08320.72
5.6.200.0100.06718.19
5.6.190.0130.08320.33
5.6.180.0270.05020.47
5.6.170.0500.05320.45
5.6.160.0270.07720.56
5.6.150.0270.04720.19
5.6.140.0130.05720.41
5.6.130.0200.04320.42
5.6.120.0230.07020.49
5.6.110.0170.05720.22
5.6.100.0330.07320.18
5.6.90.0270.08020.32
5.6.80.0230.08019.91
5.6.70.0230.05319.55
5.6.60.0330.07019.80
5.6.50.0100.05719.62
5.6.40.0270.07719.77
5.6.30.0270.06019.59
5.6.20.0300.07019.69
5.6.10.0370.06319.77
5.6.00.0230.07019.87
5.5.350.3830.04720.33
5.5.340.0100.07318.08
5.5.330.0300.02720.43
5.5.320.0230.07020.40
5.5.310.0200.08320.21
5.5.300.0200.07020.26
5.5.290.0230.08319.98
5.5.280.0230.04020.21
5.5.270.0170.04320.31
5.5.260.0230.05720.24
5.5.250.0270.07020.10
5.5.240.0300.05719.37
5.5.230.0200.07319.41
5.5.220.0200.06319.51
5.5.210.0170.05719.35
5.5.200.0230.07719.38
5.5.190.0170.06019.49
5.5.180.0200.07719.32
5.5.160.0170.06019.64
5.5.150.0200.06719.64
5.5.140.0170.05319.55
5.5.130.0270.08019.38
5.5.120.0200.07719.30
5.5.110.0230.07019.51
5.5.100.0270.07319.39
5.5.90.0270.04019.29
5.5.80.0230.06019.23
5.5.70.0270.07319.38
5.5.60.0200.07319.32
5.5.50.0170.05719.41
5.5.40.0230.07719.42
5.5.30.0230.07319.32
5.5.20.0230.07319.27
5.5.10.0170.04319.60
5.5.00.0270.04319.59
5.4.450.0170.04719.57
5.4.440.0200.06319.40
5.4.430.0200.05719.46
5.4.420.0200.08019.47
5.4.410.0230.05719.29
5.4.400.0200.07718.96
5.4.390.0270.05319.07
5.4.380.0270.06719.15
5.4.370.0200.07318.98
5.4.360.0170.06318.86
5.4.350.0330.06318.86
5.4.340.0230.06719.26
5.4.320.0300.07019.12
5.4.310.0370.06719.25
5.4.300.0200.07019.14
5.4.290.0270.05719.26
5.4.280.0230.05318.85
5.4.270.0200.06019.04
5.4.260.0230.04719.14
5.4.250.0170.04018.84
5.4.240.0300.07018.85
5.4.230.0200.07718.85
5.4.220.0230.04318.91
5.4.210.0200.04019.11
5.4.200.0300.06019.23
5.4.190.0400.03719.23
5.4.180.0170.07319.08
5.4.170.0200.07718.91
5.4.160.0100.05019.16
5.4.150.0130.04019.22
5.4.140.0230.05716.54
5.4.130.0170.03716.37
5.4.120.0230.04316.42
5.4.110.0370.05016.34
5.4.100.0230.04716.47
5.4.90.0300.06716.39
5.4.80.0230.04716.28
5.4.70.0300.06316.29
5.4.60.0230.06016.40
5.4.50.0200.03316.45
5.4.40.0270.04016.65
5.4.30.0330.05716.24
5.4.20.0270.06716.43
5.4.10.0130.06716.34
5.4.00.0270.07016.00
5.3.290.0130.04714.66
5.3.280.0230.07314.64
5.3.270.0230.05014.63
5.3.260.0270.04014.49
5.3.250.0130.04014.60
5.3.240.0300.06314.60
5.3.230.0200.07314.59
5.3.220.0300.06014.58
5.3.210.0200.05714.58
5.3.200.0330.06314.61
5.3.190.0200.07314.61
5.3.180.0330.06314.55
5.3.170.0230.07314.56
5.3.160.0270.03714.61
5.3.150.0270.06714.70
5.3.140.0370.05714.47
5.3.130.0170.06314.54
5.3.120.0230.07714.54
5.3.110.0230.06014.61
5.3.100.0230.06014.18
5.3.90.0230.06714.08
5.3.80.0170.04014.06
5.3.70.0270.07014.08
5.3.60.0270.04013.94
5.3.50.0230.07314.09
5.3.40.0200.06713.90
5.3.30.0300.06013.96
5.3.20.0200.07313.73
5.3.10.0200.07313.80
5.3.00.0300.06313.63
5.2.170.0170.06312.38
5.2.160.0200.06012.38
5.2.150.0130.03712.38
5.2.140.0170.06312.38
5.2.130.0170.03312.38
5.2.120.0130.04312.38
5.2.110.0170.06012.38
5.2.100.0330.04012.38
5.2.90.0270.05012.38
5.2.80.0200.03712.38
5.2.70.0170.05012.38
5.2.60.0130.06012.38
5.2.50.0130.06712.38
5.2.40.0230.04012.38
5.2.30.0130.06312.38
5.2.20.0230.05012.38
5.2.10.0070.03312.38
5.2.00.0130.03012.38
5.1.60.0130.03012.38
5.1.50.0170.04712.38
5.1.40.0130.02312.38
5.1.30.0100.03012.38
5.1.20.0130.04012.38
5.1.10.0200.04312.38
5.1.00.0070.03012.38
5.0.50.0070.03312.38
5.0.40.0070.03712.38
5.0.30.0100.06012.38
5.0.20.0070.03312.38
5.0.10.0130.02012.38
5.0.00.0100.06012.38
4.4.90.0100.02712.38
4.4.80.0070.03312.38
4.4.70.0070.03012.38
4.4.60.0070.03712.38
4.4.50.0070.02712.38
4.4.40.0030.03012.38
4.4.30.0030.01712.38
4.4.20.0070.02012.38
4.4.10.0030.02312.38
4.4.00.0030.04012.38
4.3.110.0070.02712.38
4.3.100.0070.03312.38
4.3.90.0070.03712.38
4.3.80.0070.03012.38
4.3.70.0070.03312.38
4.3.60.0030.02712.38
4.3.50.0100.01712.38
4.3.40.0170.04012.38
4.3.30.0030.03312.38
4.3.20.0070.02312.38
4.3.10.0030.02012.38
4.3.00.0100.01012.38

preferences:
41.39 ms | 400 KiB | 5 Q