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]; print "($c1) ($w1) ($c2) ($c3) ($c4) ($int1) \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.70.0080.00817.00
8.3.60.0150.00018.54
8.3.50.0120.00823.08
8.3.40.0090.01219.20
8.3.30.0030.01019.04
8.3.20.0020.00520.16
8.3.10.0040.00423.65
8.3.00.0080.00019.63
8.2.180.0040.01116.88
8.2.170.0060.01022.96
8.2.160.0070.00720.34
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0050.00321.15
8.2.110.0090.00320.47
8.2.100.0080.00418.09
8.2.90.0040.00419.25
8.2.80.0080.00017.97
8.2.70.0050.00317.88
8.2.60.0000.00817.93
8.2.50.0060.00318.07
8.2.40.0030.00618.34
8.2.30.0040.00418.12
8.2.20.0040.00417.81
8.2.10.0050.00318.32
8.2.00.0040.00417.99
8.1.280.0140.00025.92
8.1.270.0080.00023.78
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00622.52
8.1.230.0090.00320.89
8.1.220.0040.00418.77
8.1.210.0050.00318.92
8.1.200.0090.00317.48
8.1.190.0080.00017.35
8.1.180.0030.00618.10
8.1.170.0090.00018.78
8.1.160.0080.00022.02
8.1.150.0040.00419.00
8.1.140.0050.00217.51
8.1.130.0070.00017.80
8.1.120.0040.00417.66
8.1.110.0000.00817.67
8.1.100.0040.00417.64
8.1.90.0030.00317.66
8.1.80.0050.00317.62
8.1.70.0000.00717.61
8.1.60.0040.00417.68
8.1.50.0000.00817.53
8.1.40.0050.00317.61
8.1.30.0000.00817.75
8.1.20.0030.00517.78
8.1.10.0030.00617.66
8.1.00.0000.00717.76
8.0.300.0050.00320.16
8.0.290.0070.00016.88
8.0.280.0000.00718.49
8.0.270.0000.00817.30
8.0.260.0030.00317.36
8.0.250.0000.00817.17
8.0.240.0040.00417.11
8.0.230.0070.00017.11
8.0.220.0030.00517.07
8.0.210.0050.00516.93
8.0.200.0030.00317.17
8.0.190.0030.00516.96
8.0.180.0040.00416.98
8.0.170.0040.00417.05
8.0.160.0040.00417.09
8.0.150.0060.00316.93
8.0.140.0000.00717.08
8.0.130.0060.00013.58
8.0.120.0040.00417.06
8.0.110.0030.00517.04
8.0.100.0040.00416.91
8.0.90.0070.00017.03
8.0.80.0060.00917.01
8.0.70.0040.00417.16
8.0.60.0000.01017.13
8.0.50.0040.00417.02
8.0.30.0100.01517.29
8.0.20.0150.00317.47
8.0.10.0040.00417.05
8.0.00.0080.00916.88
7.4.330.0030.00315.00
7.4.320.0030.00316.88
7.4.300.0000.00716.79
7.4.290.0000.00716.70
7.4.280.0000.00716.88
7.4.270.0080.00016.82
7.4.260.0040.00416.68
7.4.250.0040.00416.73
7.4.240.0040.00316.81
7.4.230.0070.00016.79
7.4.220.0120.00616.82
7.4.210.0070.01016.64
7.4.200.0040.00416.85
7.4.160.0070.01516.48
7.4.150.0090.00917.40
7.4.140.0150.00617.86
7.4.130.0110.00616.79
7.4.120.0080.00916.78
7.4.110.0140.00316.50
7.4.100.0040.01316.78
7.4.90.0070.01716.80
7.4.80.0120.00419.39
7.4.70.0090.00916.64
7.4.60.0120.00616.55
7.4.50.0050.00316.79
7.4.40.0080.00816.66
7.4.30.0100.00516.76
7.4.00.0000.01015.20
7.3.330.0030.00313.44
7.3.320.0000.00613.35
7.3.310.0030.00316.63
7.3.300.0030.00516.59
7.3.290.0080.00816.45
7.3.280.0090.00716.52
7.3.270.0090.00917.40
7.3.260.0120.00616.63
7.3.250.0100.00816.66
7.3.240.0030.01416.66
7.3.230.0120.00616.39
7.3.210.0070.01016.80
7.3.200.0160.00319.39
7.3.190.0090.01416.71
7.3.180.0160.00016.64
7.3.170.0130.00316.54
7.3.160.0060.01016.47
7.2.330.0110.00716.80
7.2.320.0070.01617.02
7.2.310.0040.01616.79
7.2.300.0120.00916.84
7.2.290.0070.01016.58
7.1.100.0060.00618.58
7.1.70.0000.00817.14
7.1.60.0100.01319.40
7.1.50.0120.00917.30
7.1.00.0030.07722.56
7.0.200.0030.01016.77
7.0.140.0000.07022.14
7.0.60.0130.07720.08
7.0.50.0000.05317.92
7.0.40.0000.05019.98
7.0.30.0270.08020.22
7.0.20.0200.06020.02
7.0.10.0100.05720.02
7.0.00.0100.08320.03
5.6.280.0070.07020.87
5.6.210.0070.06020.48
5.6.200.0030.05318.22
5.6.190.0070.05320.39
5.6.180.0230.05720.56
5.6.170.0230.05720.47
5.6.160.0100.08320.54
5.6.150.0070.08018.18
5.6.140.0070.04018.21
5.6.130.0070.07018.09
5.6.120.0070.08320.98
5.6.110.0030.04321.02
5.6.100.0070.08320.91
5.6.90.0030.09321.00
5.6.80.0000.08320.39
5.5.350.0030.08320.44
5.5.340.0030.08318.02
5.5.330.0100.03720.15
5.5.320.0000.04020.18
5.5.310.0270.08720.32
5.5.300.0070.03318.02
5.5.290.0000.04317.98
5.5.280.0300.06320.90
5.5.270.0130.07320.97
5.5.260.0100.08320.96
5.5.250.0070.05320.57
5.5.240.4070.04320.20
5.4.450.0300.03319.57
5.4.440.0200.04019.43
5.4.430.0330.06319.48
5.4.420.0330.03019.38
5.4.410.0230.07719.28
5.4.400.0270.06019.25
5.4.390.0370.05018.88
5.4.380.0200.04718.93
5.4.370.0270.05019.25
5.4.360.0270.04719.21
5.4.350.0300.06719.09
5.4.340.0300.04318.75
5.4.320.0230.04719.14
5.4.310.0230.06319.25
5.4.300.0200.06318.91
5.4.290.0330.06019.09
5.4.280.0170.07719.25
5.4.270.0200.05319.13
5.4.260.0300.06019.08
5.4.250.0170.05018.92
5.4.240.0230.04319.11
5.4.230.0270.07019.09
5.4.220.0270.06718.80
5.4.210.0370.07019.12
5.4.200.0200.04719.12
5.4.190.0230.03719.08
5.4.180.0230.03718.94
5.4.170.0330.07019.12
5.4.160.0100.04318.80
5.4.150.0200.06719.13
5.4.140.3530.03316.32
5.4.130.3100.03316.15
5.4.120.3130.03716.25
5.4.110.3130.03716.21
5.4.100.3100.03716.34
5.4.90.3200.03016.49
5.4.80.3100.03316.46
5.4.70.3400.03316.42
5.4.60.3600.03716.43
5.4.50.3300.03716.20
5.4.40.3300.03316.37
5.4.30.2930.03716.20
5.4.20.2730.04016.30
5.4.10.3100.03316.18
5.4.00.2830.03315.82
5.3.290.0330.06714.65
5.3.280.0270.04314.50
5.3.270.0330.06014.73
5.3.260.0100.05014.55
5.3.250.1900.04014.49
5.3.240.3330.03714.64
5.3.230.3100.04314.45
5.3.220.3170.03714.43
5.3.210.2970.03314.44
5.3.200.3230.04314.44
5.3.190.3170.03314.45
5.3.180.2800.03714.48
5.3.170.3030.04014.42
5.3.160.3730.04014.54
5.3.150.3530.04014.48
5.3.140.3030.03314.40
5.3.130.3300.04014.65
5.3.120.3300.03714.44
5.3.110.3030.04314.40
5.3.100.2930.02714.14
5.3.90.2800.03713.96
5.3.80.2970.04014.12
5.3.70.2630.03313.98
5.3.60.3070.04013.79
5.3.50.3100.03713.81
5.3.40.3000.03713.89
5.3.30.3230.03713.88
5.3.20.3170.02713.68
5.3.10.3200.02713.61
5.3.00.3270.04013.55
5.2.170.2470.03311.02
5.2.160.2500.03011.01
5.2.150.2600.03311.02
5.2.140.2730.03311.21
5.2.130.2600.03010.98
5.2.120.2700.02710.95
5.2.110.2630.03311.05
5.2.100.2630.03311.27
5.2.90.2670.03011.06
5.2.80.2400.02710.96
5.2.70.2330.03311.00
5.2.60.2630.02710.89
5.2.50.2030.02710.87
5.2.40.2200.03310.95
5.2.30.1930.02310.85
5.2.20.1500.03011.02
5.2.10.1730.02710.94
5.2.00.1300.03010.84
5.1.60.0000.02310.84
5.1.50.0030.02310.84
5.1.40.0000.02710.84
5.1.30.0700.02010.84
5.1.20.1030.02310.84
5.1.10.1470.03010.84
5.1.00.1600.02710.84
5.0.50.1000.02310.84
5.0.40.0670.02010.84
5.0.30.0630.03310.84
5.0.20.0730.02010.84
5.0.10.0870.02010.84
5.0.00.0900.03010.84
4.4.90.0970.01310.84
4.4.80.0970.01310.84
4.4.70.0530.01710.84
4.4.60.0870.01710.84
4.4.50.1000.01710.84
4.4.40.0030.02010.84
4.4.30.0030.01710.84
4.4.20.0830.01310.84
4.4.10.1130.01710.84
4.4.00.1030.02010.84
4.3.110.0830.01310.84
4.3.100.0900.01310.84
4.3.90.0900.01010.84
4.3.80.0830.02710.84
4.3.70.1200.01310.84
4.3.60.0900.01710.84
4.3.50.0830.01310.84
4.3.40.1000.03310.84
4.3.30.0500.02710.84
4.3.20.0570.02710.84
4.3.10.0430.02010.84
4.3.00.0430.02310.84

preferences:
51.8 ms | 401 KiB | 5 Q