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($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.60.0110.00417.00
8.3.50.0060.01020.48
8.3.40.0140.00718.92
8.3.30.0100.00319.27
8.3.20.0040.00420.16
8.3.10.0040.00423.61
8.3.00.0090.00019.63
8.2.180.0140.00016.50
8.2.170.0070.01622.96
8.2.160.0070.00720.43
8.2.150.0090.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00420.98
8.2.110.0110.00020.54
8.2.100.0090.00318.16
8.2.90.0090.00018.10
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0040.00417.93
8.2.50.0000.00918.07
8.2.40.0000.00918.34
8.2.30.0000.00818.16
8.2.20.0070.00018.01
8.2.10.0080.00018.04
8.2.00.0070.00017.78
8.1.280.0150.00025.92
8.1.270.0060.00323.96
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.19
8.1.230.0030.00720.88
8.1.220.0000.00817.74
8.1.210.0080.00018.89
8.1.200.0090.00017.48
8.1.190.0000.00817.36
8.1.180.0030.00518.10
8.1.170.0040.00418.78
8.1.160.0040.00422.04
8.1.150.0060.00318.80
8.1.140.0030.00617.62
8.1.130.0070.00017.95
8.1.120.0000.00717.64
8.1.110.0040.00417.60
8.1.100.0050.00217.55
8.1.90.0000.00717.61
8.1.80.0050.00217.51
8.1.70.0040.00417.43
8.1.60.0000.00917.64
8.1.50.0080.00017.77
8.1.40.0080.00017.63
8.1.30.0030.00617.64
8.1.20.0040.00417.72
8.1.10.0000.00817.80
8.1.00.0040.00417.61
8.0.300.0040.00420.15
8.0.290.0040.00417.00
8.0.280.0040.00418.61
8.0.270.0000.00717.36
8.0.260.0040.00417.29
8.0.250.0000.00717.04
8.0.240.0040.00417.07
8.0.230.0000.00716.96
8.0.220.0000.00716.93
8.0.210.0040.00417.05
8.0.200.0000.00817.11
8.0.190.0040.00417.09
8.0.180.0000.00817.12
8.0.170.0000.00717.03
8.0.160.0030.00517.06
8.0.150.0030.00516.87
8.0.140.0000.00816.91
8.0.130.0050.00013.52
8.0.120.0040.00417.02
8.0.110.0000.00817.07
8.0.100.0000.00717.05
8.0.90.0000.00717.04
8.0.80.0090.01017.02
8.0.70.0040.00416.94
8.0.60.0000.00816.94
8.0.50.0050.00316.98
8.0.30.0130.00917.22
8.0.20.0130.00817.40
8.0.10.0000.00716.93
8.0.00.0060.01216.99
7.4.330.0050.00015.00
7.4.320.0030.00316.83
7.4.300.0030.00316.68
7.4.290.0000.00716.81
7.4.280.0070.00016.81
7.4.270.0070.00016.85
7.4.260.0040.00416.80
7.4.250.0050.00216.84
7.4.240.0030.00416.81
7.4.230.0020.00516.50
7.4.220.0080.01116.77
7.4.210.0070.01316.85
7.4.200.0070.00016.79
7.4.160.0090.01216.54
7.4.150.0070.01117.40
7.4.140.0130.01017.86
7.4.130.0060.01116.67
7.4.120.0100.00716.65
7.4.110.0120.00616.73
7.4.100.0090.00916.66
7.4.90.0070.01016.69
7.4.80.0060.01719.39
7.4.70.0040.01416.59
7.4.60.0060.00916.52
7.4.50.0040.00416.60
7.4.40.0120.00916.75
7.4.30.0100.00616.70
7.4.00.0090.00614.98
7.3.330.0000.00613.32
7.3.320.0060.00013.32
7.3.310.0040.00416.45
7.3.300.0030.00316.41
7.3.290.0090.00516.54
7.3.280.0070.01016.49
7.3.270.0100.00717.40
7.3.260.0070.01316.75
7.3.250.0080.01216.53
7.3.240.0030.01316.43
7.3.230.0090.00916.78
7.3.210.0110.01016.54
7.3.200.0030.01719.39
7.3.190.0150.00616.61
7.3.180.0160.00016.92
7.3.170.0140.00916.53
7.3.160.0080.00916.70
7.2.330.0200.00316.72
7.2.320.0070.01317.00
7.2.310.0070.01316.73
7.2.300.0160.00616.70
7.2.290.0040.01216.77
7.2.00.0090.00919.74
7.1.200.0030.01015.82
7.1.100.0030.00618.45
7.1.70.0070.00017.14
7.1.60.0070.01719.40
7.1.50.0250.01134.77
7.1.00.0030.07322.37
7.0.200.0040.00416.79
7.0.140.0030.07722.22
7.0.60.0100.07719.96
7.0.50.0100.08017.85
7.0.40.0100.05720.43
7.0.30.0230.07720.02
7.0.20.0230.06720.14
7.0.10.0100.08020.02
7.0.00.0100.05720.32
5.6.280.0070.07321.13
5.6.210.0070.04320.66
5.6.200.0100.07718.15
5.6.190.0030.06720.63
5.6.180.0530.07320.41
5.6.170.0270.06720.44
5.6.160.0000.05020.61
5.6.150.0000.05318.09
5.6.140.0070.06718.08
5.6.130.0030.08718.13
5.6.120.0130.03320.89
5.6.110.0000.04720.99
5.6.100.0000.06720.91
5.6.90.0130.07720.96
5.6.80.0070.08020.41
5.5.350.4330.04020.46
5.5.340.0030.07018.02
5.5.330.0070.04020.39
5.5.320.0100.03320.50
5.5.310.0130.07020.17
5.5.300.0000.04018.02
5.5.290.0030.04317.94
5.5.280.0000.04320.73
5.5.270.0070.06720.64
5.5.260.0070.06720.76
5.5.250.0030.06320.59
5.5.240.0300.07320.18
5.4.450.0270.04319.47
5.4.440.0370.07319.24
5.4.430.0270.07319.56
5.4.420.0270.04019.23
5.4.410.0270.06719.29
5.4.400.0300.04718.81
5.4.390.0270.06018.91
5.4.380.0330.05719.11
5.4.370.0330.05719.16
5.4.360.0300.04019.13
5.4.350.0330.06319.15
5.4.340.0230.04719.13
5.4.320.0370.06019.05
5.4.310.0300.03018.81
5.4.300.0270.03319.09
5.4.290.0270.06318.80
5.4.280.0200.04019.25
5.4.270.0300.06718.92
5.4.260.0300.05719.09
5.4.250.0230.08018.92
5.4.240.0270.08019.13
5.4.230.0270.06319.07
5.4.220.0230.06019.24
5.4.210.0300.06018.91
5.4.200.0370.06719.07
5.4.190.0330.04319.12
5.4.180.0300.06719.23
5.4.170.0230.04318.80
5.4.160.0270.06719.08
5.4.150.0300.05319.03
5.4.140.0330.07016.40
5.4.130.0300.07016.14
5.4.120.0300.07016.29
5.4.110.0230.03716.39
5.4.100.0200.03716.34
5.4.90.0270.04316.21
5.4.80.0270.03316.04
5.4.70.0300.06716.44
5.4.60.0230.05016.39
5.4.50.0230.04016.45
5.4.40.0300.05716.33
5.4.30.0230.04016.41
5.4.20.0370.06016.40
5.4.10.0200.04016.52
5.4.00.0330.06315.78
5.3.290.0300.03714.62
5.3.280.0230.08014.53
5.3.270.0270.07014.52
5.3.260.0200.05014.59
5.3.250.0230.04714.66
5.3.240.0370.06014.56
5.3.230.0270.06314.55
5.3.220.0300.05314.45
5.3.210.0270.04014.54
5.3.200.0230.03714.57
5.3.190.0230.04014.60
5.3.180.0270.03314.52
5.3.170.0230.04014.42
5.3.160.0370.06314.50
5.3.150.0270.06014.62
5.3.140.0230.05014.49
5.3.130.0370.07014.49
5.3.120.0300.07314.59
5.3.110.0230.06714.66
5.3.100.0400.05713.90
5.3.90.0230.06313.98
5.3.80.0270.07013.93
5.3.70.0230.04014.05
5.3.60.0400.06013.94
5.3.50.0300.07013.79
5.3.40.0200.04013.98
5.3.30.0200.03713.85
5.3.20.0300.07313.57
5.3.10.0300.04713.64
5.3.00.0270.05313.52
5.2.170.0200.03011.00
5.2.160.0270.02310.99
5.2.150.0230.02711.09
5.2.140.0230.05711.20
5.2.130.0270.05010.95
5.2.120.0270.05011.05
5.2.110.0230.03310.96
5.2.100.0200.03010.95
5.2.90.0230.03311.00
5.2.80.0170.03311.11
5.2.70.0200.03711.26
5.2.60.0270.05310.94
5.2.50.0300.05310.94
5.2.40.0200.06011.16
5.2.30.0230.03010.84
5.2.20.0200.04011.02
5.2.10.0270.04010.83
5.2.00.0170.04310.66
5.1.60.0170.05310.00
5.1.50.0200.04710.12
5.1.40.0170.05310.00
5.1.30.0200.03310.34
5.1.20.0170.05010.30
5.1.10.0130.05010.00
5.1.00.0200.03010.13
5.0.50.0100.02710.00
5.0.40.0130.03710.00
5.0.30.0100.06710.00
5.0.20.0070.05010.00
5.0.10.0130.03310.00
5.0.00.0130.04010.00
4.4.90.0130.02010.00
4.4.80.0100.02010.00
4.4.70.0070.02310.00
4.4.60.0100.03710.00
4.4.50.0170.01710.00
4.4.40.0100.03010.00
4.4.30.0100.03710.00
4.4.20.0100.02710.00
4.4.10.0200.02710.00
4.4.00.0130.04710.00
4.3.110.0170.02010.00
4.3.100.0100.03010.00
4.3.90.0100.03310.00
4.3.80.0070.02710.00
4.3.70.0170.02310.00
4.3.60.0100.03710.00
4.3.50.0100.03310.00
4.3.40.0170.03310.00
4.3.30.0070.02010.00
4.3.20.0030.03710.00
4.3.10.0070.02710.00
4.3.00.0070.03010.00

preferences:
47.82 ms | 400 KiB | 5 Q