3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt="Fatti&Storie 5 - Lorem ipsum dolor nid:666 [bid:667] [cid:668] [id:669] [12] sit amet [nid:112]"; $re1=".*?"; $re2="\\["; $re3=".*?"; $re4="\\["; $re5=".*?"; $re6="\\["; $re7=".*?"; $re8="\\["; $re9=".*?"; $re10="(\\[)"; $re11="(n)"; $re12="(i)"; $re13="(d)"; $re14="(:)"; $re15="(\\d+)"; if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5.$re6.$re7.$re8.$re9.$re10.$re11.$re12.$re13.$re14.$re15."/is", $txt, $matches)) { $c1=$matches[1][0]; $w1=$matches[2][0]; $c2=$matches[3][0]; $c3=$matches[4][0]; $c4=$matches[5][0]; $int1=$matches[6][0]; } return $int1;

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.70.0070.01416.63
8.3.60.0100.00716.63
8.3.50.0100.00822.94
8.3.40.0110.01119.13
8.3.30.0070.00719.04
8.3.20.0070.00020.19
8.3.10.0040.00423.66
8.3.00.0000.00819.63
8.2.180.0110.00416.63
8.2.170.0170.00322.96
8.2.160.0070.00720.14
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00821.22
8.2.110.0000.00919.32
8.2.100.0040.00718.03
8.2.90.0050.00319.34
8.2.80.0050.00317.97
8.2.70.0050.00317.75
8.2.60.0080.00018.03
8.2.50.0000.00818.10
8.2.40.0040.00418.16
8.2.30.0000.00718.16
8.2.20.0000.00817.90
8.2.10.0040.00418.09
8.2.00.0000.00717.95
8.1.280.0110.00425.92
8.1.270.0040.00423.82
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0070.00322.39
8.1.230.0060.00617.89
8.1.220.0090.00017.79
8.1.210.0060.00318.77
8.1.200.0060.00317.38
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0030.00518.78
8.1.160.0040.00421.93
8.1.150.0050.00219.03
8.1.140.0040.00417.57
8.1.130.0060.00317.92
8.1.120.0000.00717.63
8.1.110.0000.00817.60
8.1.100.0000.00717.47
8.1.90.0020.00517.59
8.1.80.0020.00517.59
8.1.70.0000.00717.60
8.1.60.0030.00617.76
8.1.50.0000.00817.67
8.1.40.0000.00817.57
8.1.30.0040.00417.79
8.1.20.0050.00517.69
8.1.10.0000.00917.80
8.1.00.0050.00317.55
8.0.300.0030.00518.77
8.0.290.0040.00417.00
8.0.280.0040.00418.50
8.0.270.0070.00017.16
8.0.260.0000.00817.27
8.0.250.0070.00017.14
8.0.240.0080.00017.05
8.0.230.0000.00717.11
8.0.220.0000.00717.06
8.0.210.0040.00516.98
8.0.200.0070.00017.12
8.0.190.0000.00717.16
8.0.180.0040.00417.06
8.0.170.0000.00816.95
8.0.160.0040.00417.09
8.0.150.0000.00816.97
8.0.140.0070.00017.02
8.0.130.0030.00313.47
8.0.120.0040.00417.03
8.0.110.0000.00916.98
8.0.100.0000.00717.16
8.0.90.0000.00716.88
8.0.80.0080.00817.01
8.0.70.0060.00317.11
8.0.60.0030.00717.05
8.0.50.0000.00716.88
8.0.30.0130.00617.22
8.0.20.0260.02117.43
8.0.10.0050.00317.07
8.0.00.0070.01216.80
7.4.330.0030.00315.07
7.4.320.0000.00616.80
7.4.300.0030.00316.63
7.4.290.0040.00416.71
7.4.280.0040.00416.82
7.4.270.0030.00316.66
7.4.260.0030.00316.76
7.4.250.0070.00016.65
7.4.240.0040.00316.79
7.4.230.0030.00416.75
7.4.220.0100.00916.73
7.4.210.0100.00416.63
7.4.200.0070.00016.57
7.4.160.0080.01116.88
7.4.150.0100.01317.40
7.4.140.0130.00817.86
7.4.130.0060.01016.61
7.4.120.0050.01216.86
7.4.110.0120.00616.75
7.4.100.0070.01016.78
7.4.90.0070.01316.77
7.4.80.0070.01819.39
7.4.70.0100.01016.57
7.4.60.0100.00716.56
7.4.50.0020.00216.74
7.4.40.0090.00916.72
7.4.30.0030.01216.63
7.4.00.0070.01015.02
7.3.330.0000.00613.39
7.3.320.0000.00513.39
7.3.310.0030.00516.32
7.3.300.0070.00016.39
7.3.290.0100.00916.51
7.3.280.0080.00916.46
7.3.270.0070.01117.40
7.3.260.0170.00016.50
7.3.250.0150.00416.58
7.3.240.0100.00716.66
7.3.230.0140.00416.49
7.3.210.0100.00616.68
7.3.200.0070.01019.39
7.3.190.0070.01316.38
7.3.180.0100.00716.69
7.3.170.0050.01116.57
7.3.160.0120.00916.54
7.3.120.0070.01014.91
7.3.110.0060.00814.79
7.3.100.0060.01014.95
7.3.90.0070.00814.98
7.3.80.0040.00814.97
7.3.70.0060.00815.00
7.3.60.0080.00615.06
7.3.50.0030.01015.09
7.3.40.0050.00914.95
7.3.30.0080.00614.81
7.3.20.0080.00816.60
7.3.10.0100.00516.70
7.3.00.0040.01016.88
7.2.330.0070.01716.77
7.2.320.0030.01616.72
7.2.310.0130.01016.83
7.2.300.0120.00616.87
7.2.290.0060.00916.87
7.2.250.0050.01215.19
7.2.240.0060.01315.13
7.2.230.0060.01115.18
7.2.220.0080.00814.95
7.2.210.0060.00815.21
7.2.200.0080.00715.02
7.2.190.0110.00415.13
7.2.180.0080.00515.08
7.2.170.0050.00815.16
7.2.160.0050.01015.19
7.2.150.0070.00916.95
7.2.140.0070.00717.06
7.2.130.0040.01116.96
7.2.120.0030.01416.89
7.2.110.0070.00716.85
7.2.100.0050.00716.96
7.2.90.0080.00216.90
7.2.80.0040.01117.05
7.2.70.0050.00817.06
7.2.60.0040.00617.03
7.2.50.0080.00517.02
7.2.40.0060.00616.94
7.2.30.0100.00517.14
7.2.20.0060.00616.95
7.2.10.0050.00817.08
7.2.00.0030.01017.93
7.1.330.0070.00815.76
7.1.320.0060.00815.95
7.1.310.0050.01016.02
7.1.300.0050.00915.87
7.1.290.0060.00915.91
7.1.280.0040.00615.93
7.1.270.0040.01115.94
7.1.260.0040.00815.88
7.1.250.0050.00815.88
7.1.240.0060.00615.71
7.1.230.0000.00815.88
7.1.220.0080.00415.70
7.1.210.0100.00316.09
7.1.200.0100.00315.94
7.1.190.0080.00715.72
7.1.180.0030.01015.88
7.1.170.0040.00415.91
7.1.160.0000.00916.07
7.1.150.0060.00915.88
7.1.140.0070.00715.89
7.1.130.0030.00615.87
7.1.120.0000.01415.94
7.1.110.0040.00416.05
7.1.100.0090.00517.38
7.1.90.0030.00916.12
7.1.80.0060.00315.97
7.1.70.0050.00616.60
7.1.60.0100.01117.70
7.1.50.0110.00616.53
7.1.40.0030.00615.71
7.1.30.0060.00616.00
7.1.20.0090.00316.03
7.1.10.0040.01115.80
7.1.00.0020.04419.23
7.0.330.0040.00715.39
7.0.320.0060.00615.66
7.0.310.0040.00415.43
7.0.300.0070.01015.64
7.0.290.0040.01115.77
7.0.280.0040.00415.68
7.0.270.0040.00815.52
7.0.260.0130.00315.39
7.0.250.0030.01415.64
7.0.240.0030.01015.47
7.0.230.0100.00315.29
7.0.220.0040.00715.52
7.0.210.0030.01015.43
7.0.200.0050.00816.09
7.0.190.0100.00615.42
7.0.180.0040.00715.69
7.0.170.0030.00615.77
7.0.160.0000.00915.75
7.0.150.0000.00915.53
7.0.140.0030.04018.78
7.0.130.0000.01215.55
7.0.120.0080.00415.61
7.0.110.0080.00015.57
7.0.100.0050.00315.59
7.0.90.0000.00815.58
7.0.80.0110.00015.29
7.0.70.0040.00715.68
7.0.60.0050.04917.82
7.0.50.0080.03616.78
7.0.40.0080.04516.83
7.0.30.0180.04216.95
7.0.20.0130.03216.88
7.0.10.0020.05017.03
7.0.00.0110.03716.99
5.6.400.0030.00814.55
5.6.390.0030.00714.32
5.6.380.0040.01114.66
5.6.370.0030.00714.34
5.6.360.0100.00314.62
5.6.350.0070.00714.39
5.6.340.0040.00414.70
5.6.330.0040.01114.39
5.6.320.0040.00814.32
5.6.310.0060.00914.13
5.6.300.0120.00314.16
5.6.290.0000.00914.83
5.6.280.0050.04017.59
5.6.270.0060.00313.98
5.6.260.0000.01314.57
5.6.250.0060.00814.63
5.6.240.0030.00614.25
5.6.230.0000.01314.34
5.6.220.0100.00714.54
5.6.210.0100.04017.54
5.6.200.0110.03716.30
5.6.190.0070.02817.40
5.6.180.0170.04317.36
5.6.170.0130.02317.39
5.6.160.0120.03717.53
5.6.150.0050.02516.21
5.6.140.0080.04516.24
5.6.130.0100.04116.31
5.6.120.0130.03917.66
5.6.110.0050.05117.78
5.6.100.0030.04017.69
5.6.90.0020.02517.67
5.6.80.0030.03417.43
5.6.70.0030.01014.16
5.6.60.0030.01314.42
5.6.50.0030.00814.00
5.6.40.0030.00914.38
5.6.30.0000.01114.23
5.6.20.0130.00314.26
5.6.10.0060.00614.13
5.6.00.0070.00714.22
5.5.380.0070.01014.09
5.5.370.0030.01014.39
5.5.360.0110.00714.46
5.5.350.0100.04317.28
5.5.340.0060.03216.11
5.5.330.0050.02917.30
5.5.320.0130.05017.41
5.5.310.0220.03917.27
5.5.300.0120.03916.04
5.5.290.0030.02916.04
5.5.280.0020.04617.53
5.5.270.0120.04217.39
5.5.260.0070.03717.50
5.5.250.0100.04117.33
5.5.240.0030.04217.03
5.5.230.0080.00314.11
5.5.220.0070.00414.39
5.5.210.0030.00714.28
5.5.200.0040.00814.13
5.5.190.0120.00314.00
5.5.180.0030.01014.01
5.5.170.0100.00314.18
5.5.160.0040.00414.49
5.5.150.0000.00914.34
5.5.140.0030.00914.18
5.5.130.0100.00314.27
5.5.120.0030.00914.29
5.5.110.0110.00413.98
5.5.100.0110.00413.84
5.5.90.0030.00614.30
5.5.80.0000.01414.31
5.5.70.0000.01313.82
5.5.60.0000.00914.12
5.5.50.0080.00814.11
5.5.40.0030.01014.37
5.5.30.0070.01014.43
5.5.20.0030.00614.22
5.5.10.0070.00714.32
5.5.00.0000.01514.24
5.4.450.0330.03615.29
5.4.440.0100.03015.20
5.4.430.0110.03015.19
5.4.420.0220.02515.28
5.4.410.0100.03015.27
5.4.400.0170.02515.14
5.4.390.0110.03114.82
5.4.380.0080.03014.84
5.4.370.0100.02214.71
5.4.360.0120.03214.91
5.4.350.0080.02111.36
5.4.340.0040.01911.53
5.4.330.0060.00011.14
5.4.320.0030.02411.65
5.4.310.0050.02111.67
5.4.300.0060.02011.77
5.4.290.0020.02611.68
5.4.280.0050.01911.67
5.4.270.0070.02211.80
5.4.260.0040.02111.79
5.4.250.0050.02111.73
5.4.240.0060.02011.64
5.4.230.0060.02511.65
5.4.220.0020.02511.53
5.4.210.0040.02611.68
5.4.200.0080.02311.48
5.4.190.0060.02711.66
5.4.180.0050.02211.73
5.4.170.0050.02311.60
5.4.160.0060.02211.65
5.4.150.0070.02011.71
5.4.140.0040.02611.58
5.4.130.0090.01811.41
5.4.120.0060.02111.54
5.4.110.0030.02511.52
5.4.100.0090.02011.65
5.4.90.0060.02811.54
5.4.80.0060.02111.57
5.4.70.0070.02111.56
5.4.60.0110.02211.38
5.4.50.0040.01911.46
5.4.40.0060.01811.47
5.4.30.0020.02811.43
5.4.20.0050.02611.47
5.4.10.0090.02411.46
5.4.00.0070.01811.26
5.3.290.0100.03512.80
5.3.280.0070.04512.71
5.3.270.0140.05612.73
5.3.260.0090.06012.72
5.3.250.0100.04112.72
5.3.240.0080.04812.72
5.3.230.0080.04412.71
5.3.220.0050.03912.68
5.3.210.0080.03712.68
5.3.200.0050.03712.68
5.3.190.0060.04112.68
5.3.180.0070.04412.67
5.3.170.0070.03912.67
5.3.160.0060.03912.67
5.3.150.0100.04112.67
5.3.140.0080.03712.66
5.3.130.0070.04112.66
5.3.120.0060.05112.66
5.3.110.0100.05112.66
5.3.100.0080.04112.11
5.3.90.0080.03412.08
5.3.80.0080.03412.07
5.3.70.0050.03912.07
5.3.60.0050.03812.07
5.3.50.0100.03612.01
5.3.40.0030.04512.00
5.3.30.0070.03411.96
5.3.20.0070.03511.74
5.3.10.0080.03611.71
5.3.00.0040.03911.70
5.2.170.0180.0349.20
5.2.160.0060.0299.20
5.2.150.0040.0309.20
5.2.140.0050.0319.20
5.2.130.0040.0299.16
5.2.120.0020.0329.16
5.2.110.0060.0289.16
5.2.100.0060.0289.16
5.2.90.0060.0349.16
5.2.80.0040.0319.16
5.2.70.0060.0319.15
5.2.60.0060.0299.11
5.2.50.0050.0359.07
5.2.40.0060.0319.06
5.2.30.0030.0329.04
5.2.20.0030.0319.03
5.2.10.0050.0288.93
5.2.00.0050.0308.79
5.1.60.0080.0288.07
5.1.50.0040.0278.07
5.1.40.0060.0278.05
5.1.30.0040.0288.40
5.1.20.0080.0238.42
5.1.10.0040.0258.15
5.1.00.0040.0258.15
5.0.50.0050.0266.64
5.0.40.0040.0286.49
5.0.30.0030.0356.31
5.0.20.0030.0236.28
5.0.10.0000.0246.26
5.0.00.0060.0296.25
4.4.90.0040.0154.78
4.4.80.0040.0214.75
4.4.70.0050.0154.75
4.4.60.0030.0244.75
4.4.50.0020.0224.77
4.4.40.0050.0254.71
4.4.30.0050.0144.76
4.4.20.0040.0194.84
4.4.10.0030.0204.85
4.4.00.0030.0314.76
4.3.110.0040.0144.67
4.3.100.0040.0164.66
4.3.90.0070.0164.63
4.3.80.0080.0254.58
4.3.70.0060.0164.63
4.3.60.0000.0184.63
4.3.50.0030.0204.63
4.3.40.0040.0344.54
4.3.30.0070.0173.31
4.3.20.0030.0203.29
4.3.10.0020.0193.24
4.3.00.0100.0236.99

preferences:
54.87 ms | 401 KiB | 5 Q