3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = array( '#tag', 'text #tag text', 'text #tag', 'text#tag', ); $res = preg_filter('/#(\S{1,24}+)/u', '<$1>' , $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.60.0080.00816.88
8.3.50.0120.00718.56
8.3.40.0040.01118.76
8.3.30.0110.00318.82
8.3.20.0040.00418.81
8.3.10.0070.01120.61
8.3.00.0090.00919.38
8.2.180.0180.00425.92
8.2.170.0070.01119.05
8.2.160.0100.00722.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0060.00320.73
8.2.110.0080.00321.30
8.2.100.0110.00017.97
8.2.90.0030.00619.21
8.2.80.0030.00517.97
8.2.70.0080.00017.63
8.2.60.0070.00417.93
8.2.50.0000.00818.10
8.2.40.0060.00318.14
8.2.30.0000.00717.94
8.2.20.0030.00617.76
8.2.10.0040.00417.95
8.2.00.0060.00317.86
8.1.280.0160.00625.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0200.00021.24
8.1.230.0070.00417.70
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0000.00917.38
8.1.190.0030.00517.35
8.1.180.0050.00318.10
8.1.170.0030.00618.84
8.1.160.0030.00518.93
8.1.150.0030.00518.70
8.1.140.0040.00417.51
8.1.130.0030.00317.89
8.1.120.0030.00517.61
8.1.110.0070.00017.44
8.1.100.0040.00417.55
8.1.90.0030.00517.44
8.1.80.0070.00017.45
8.1.70.0040.00417.53
8.1.60.0050.00317.67
8.1.50.0030.00617.49
8.1.40.0040.00417.62
8.1.30.0080.00417.72
8.1.20.0000.00717.76
8.1.10.0000.00717.61
8.1.00.0040.00417.52
8.0.300.0030.00618.84
8.0.290.0000.00816.88
8.0.280.0000.00718.39
8.0.270.0000.00717.21
8.0.260.0030.00316.96
8.0.250.0000.00716.93
8.0.240.0080.00017.07
8.0.230.0040.00417.00
8.0.220.0030.00317.11
8.0.210.0040.00417.07
8.0.200.0000.00716.97
8.0.190.0040.00417.05
8.0.180.0040.00417.13
8.0.170.0040.00416.98
8.0.160.0030.00316.99
8.0.150.0040.00416.86
8.0.140.0030.00516.98
8.0.130.0000.00613.38
8.0.120.0000.00816.96
8.0.110.0040.00417.19
8.0.100.0030.00316.98
8.0.90.0030.00316.96
8.0.80.0080.00816.98
8.0.70.0000.00716.89
8.0.60.0000.00716.96
8.0.50.0000.00717.15
8.0.30.0150.00417.12
8.0.20.0080.01317.19
8.0.10.0040.00417.01
8.0.00.0030.01516.88
7.4.330.0020.00213.25
7.4.320.0030.00316.79
7.4.300.0000.00716.84
7.4.290.0000.00716.81
7.4.280.0040.00416.71
7.4.270.0000.00616.86
7.4.260.0030.00313.46
7.4.250.0040.00416.69
7.4.240.0050.00216.66
7.4.230.0000.00716.83
7.4.220.0120.00616.68
7.4.210.0080.00816.70
7.4.200.0030.00316.79
7.4.190.0000.00716.89
7.4.160.0000.01616.67
7.4.150.0140.00316.57
7.4.140.0110.00716.61
7.4.130.0060.01316.55
7.4.120.0110.00716.58
7.4.110.0110.00716.73
7.4.100.0190.00316.66
7.4.90.0110.00716.63
7.4.80.0130.00919.39
7.4.70.0150.00316.65
7.4.60.0120.00316.68
7.4.50.0000.00516.34
7.4.40.0030.00916.52
7.4.30.0160.00316.55
7.4.00.0020.00815.16
7.3.330.0000.00713.10
7.3.320.0030.00313.15
7.3.310.0040.00416.49
7.3.300.0040.00416.31
7.3.290.0090.00716.33
7.3.280.0110.00316.34
7.3.270.0080.00816.58
7.3.260.0120.00616.50
7.3.250.0120.00616.45
7.3.240.0130.00316.54
7.3.230.0060.01116.30
7.3.210.0150.00616.43
7.3.200.0140.00316.39
7.3.190.0160.00616.25
7.3.180.0070.01016.52
7.3.170.0060.00916.36
7.3.160.0030.01716.54
7.3.120.0060.00914.94
7.2.330.0100.01316.80
7.2.320.0060.01116.57
7.2.310.0040.01516.74
7.2.300.0140.00916.62
7.2.290.0120.00616.65
7.2.60.0000.01516.79
7.1.200.0000.01115.90
7.1.70.0030.00617.13
7.1.60.0100.01419.31
7.1.50.0110.00016.74
7.1.00.0030.03322.52
7.0.200.0150.00614.95
7.0.140.0030.07022.11
7.0.120.0130.06322.15
7.0.60.0030.04319.79
7.0.50.0030.05017.88
7.0.40.0070.05017.73
7.0.30.0100.07017.78
7.0.20.0130.08017.70
7.0.10.0100.04317.77
7.0.00.0100.07717.77
5.6.280.0100.06721.01
5.6.210.0070.08020.52
5.6.200.0130.07718.14
5.6.190.0070.08318.15
5.6.180.0030.04018.15
5.6.170.0170.03718.29
5.6.160.0100.04718.18
5.6.150.0170.06318.21
5.6.140.0070.07018.17
5.6.130.0030.08018.14
5.6.120.0070.08018.11
5.6.110.0100.07718.18
5.6.100.0070.08318.18
5.6.90.0030.06718.26
5.6.80.0170.06717.57
5.6.70.0070.06017.55
5.6.60.0030.06317.49
5.6.50.0070.08017.53
5.6.40.0070.05017.50
5.6.30.0100.04317.47
5.6.20.0130.07017.53
5.6.10.0100.07317.62
5.6.00.0030.05717.54
5.5.350.0330.07720.52
5.5.340.0070.04717.95
5.5.330.0100.08318.07
5.5.320.0030.04317.94
5.5.310.0070.07318.07
5.5.300.0100.08018.10
5.5.290.0030.04017.91
5.5.280.0000.06018.08
5.5.270.0070.05717.94
5.5.260.0100.08018.07
5.5.250.0100.07717.74
5.5.240.0070.06317.37
5.5.230.0000.04317.39
5.5.220.0100.06717.40
5.5.210.0070.06717.35
5.5.200.0100.07317.29
5.5.190.0030.08317.38
5.5.180.0030.08317.29
5.5.160.0030.06717.30
5.5.150.0100.05717.29
5.5.140.0070.05717.32
5.5.130.0100.05017.43
5.5.120.0130.07317.39
5.5.110.0100.07717.32
5.5.100.0070.04317.25
5.5.90.0100.05717.29
5.5.80.0000.06717.23
5.5.70.0000.04717.18
5.5.60.0030.04317.23
5.5.50.0070.04017.17
5.5.40.0100.07717.32
5.5.30.0030.06317.32
5.5.20.0070.06017.28
5.5.10.0000.05717.26
5.5.00.0100.07717.22
5.4.450.0170.03319.38
5.4.440.0100.08019.43
5.4.430.0030.04719.33
5.4.420.0000.08719.44
5.4.410.0070.05319.46
5.4.400.0100.07019.10
5.4.390.0070.05019.03
5.4.380.0000.04019.02
5.4.370.0000.07019.26
5.4.360.0030.08018.88
5.4.350.0030.07318.97
5.4.340.0000.05019.01
5.4.320.0070.05319.03
5.4.310.0070.05319.01
5.4.300.0030.07019.03
5.4.290.0100.06719.01
5.4.280.0030.05019.12
5.4.270.0100.07319.26
5.4.260.0030.06719.26
5.4.250.0130.07019.11
5.4.240.0070.04718.97
5.4.230.0000.04719.05
5.4.220.0070.04019.02
5.4.210.0000.06019.09
5.4.200.0070.06019.04
5.4.190.0070.03719.25
5.4.180.0000.04018.87
5.4.170.0100.07719.11
5.4.160.0130.06019.01
5.4.150.0130.07319.01
5.4.140.0030.05716.42
5.4.130.0000.08016.38
5.4.120.0200.06016.40
5.4.110.0100.07316.40
5.4.100.0030.08016.43
5.4.90.0000.06316.40
5.4.80.0130.06016.21
5.4.70.0070.06016.46
5.4.60.0000.08016.55
5.4.50.0070.07016.39
5.4.40.0100.06016.51
5.4.30.0230.04716.37
5.4.20.0100.06716.52
5.4.10.0070.05716.34
5.4.00.0100.06315.82
5.3.290.0000.08014.76
5.3.280.0030.08314.43
5.3.270.0030.04714.66
5.3.260.0030.06314.65
5.3.250.0130.03014.60
5.3.240.0030.05014.64
5.3.230.0070.05314.80
5.3.220.0100.05714.76
5.3.210.0030.06714.62
5.3.200.0000.06314.60
5.3.190.0030.07714.51
5.3.180.0000.08014.54
5.3.170.0070.06314.56
5.3.160.0130.06014.76
5.3.150.0130.05014.54
5.3.140.0100.06714.50
5.3.130.0030.08014.52
5.3.120.0100.04714.53
5.3.110.0100.07314.57
5.3.100.0070.07714.05
5.3.90.0030.06714.07
5.3.80.0030.07313.87
5.3.70.0100.06314.07
5.3.60.0030.08014.05
5.3.50.0000.04013.98
5.3.40.0130.07314.14
5.3.30.0030.07313.89
5.3.20.0070.07013.78
5.3.10.0030.05713.53
5.3.00.0070.03313.65
5.2.170.0070.06010.97
5.2.160.0070.06011.17
5.2.150.0030.03711.13
5.2.140.0130.05010.96
5.2.130.0100.05711.07
5.2.120.0100.04710.93
5.2.110.0100.06011.10
5.2.100.0000.03311.09
5.2.90.0130.05711.08
5.2.80.0030.06310.87
5.2.70.0170.04311.07
5.2.60.0070.03010.89
5.2.50.0030.04011.16
5.2.40.0000.05010.99
5.2.30.0070.06010.89
5.2.20.0000.06310.73
5.2.10.0070.03710.78
5.2.00.0000.04310.61
5.1.60.0000.03710.00
5.1.50.0030.03010.02
5.1.40.0030.0309.88
5.1.30.0000.05310.21
5.1.20.0070.04310.49
5.1.10.0030.04010.05
5.1.00.0000.03310.13
5.0.50.0030.0308.68
5.0.40.0030.0478.23
5.0.30.0000.0638.19
5.0.20.0130.0278.24
5.0.10.0000.0278.12
5.0.00.0030.0307.98
4.4.90.0000.0337.75
4.4.80.0000.0377.75
4.4.70.0030.0377.75
4.4.60.0000.0307.75
4.4.50.0000.0407.75
4.4.40.0000.0507.75
4.4.30.0000.0207.75
4.4.20.0030.0277.75
4.4.10.0030.0307.75
4.4.00.0030.0537.75
4.3.110.0030.0277.75
4.3.100.0030.0337.75
4.3.90.0070.0237.75
4.3.80.0030.0307.75
4.3.70.0000.0337.75
4.3.60.0100.0207.75
4.3.50.0030.0307.75
4.3.40.0030.0407.75
4.3.30.0030.0377.75
4.3.20.0000.0337.75
4.3.10.0000.0307.75
4.3.00.0000.0377.75

preferences:
82.32 ms | 401 KiB | 5 Q