3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt="Fatti&Storie 5 - Lorem ipsum dolor sit amet [nid:35]"; $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.40.0070.01018.90
8.3.30.0100.00319.08
8.3.20.0000.00820.35
8.3.10.0000.00823.66
8.3.00.0000.00819.38
8.2.170.0130.00322.96
8.2.160.0130.00020.35
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0090.00026.16
8.2.120.0040.00421.07
8.2.110.0000.01020.43
8.2.100.0060.00618.04
8.2.90.0040.00418.22
8.2.80.0050.00317.97
8.2.70.0040.00417.75
8.2.60.0080.00017.80
8.2.50.0000.00918.07
8.2.40.0040.00418.22
8.2.30.0040.00418.09
8.2.20.0050.00317.76
8.2.10.0040.00418.02
8.2.00.0030.00517.84
8.1.270.0030.00523.84
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00422.19
8.1.230.0080.00420.87
8.1.220.0000.00817.77
8.1.210.0000.00918.80
8.1.200.0030.00717.48
8.1.190.0080.00017.36
8.1.180.0040.00418.10
8.1.170.0000.00818.83
8.1.160.0020.00521.95
8.1.150.0080.00018.84
8.1.140.0070.00017.61
8.1.130.0030.00317.77
8.1.120.0000.00717.62
8.1.110.0030.00517.66
8.1.100.0040.00417.61
8.1.90.0000.00717.60
8.1.80.0040.00417.52
8.1.70.0030.00317.57
8.1.60.0050.00517.68
8.1.50.0030.00617.53
8.1.40.0040.00417.66
8.1.30.0000.00817.77
8.1.20.0030.00517.71
8.1.10.0040.00417.55
8.1.00.0000.00817.59
8.0.300.0040.00420.09
8.0.290.0080.00016.88
8.0.280.0040.00418.45
8.0.270.0040.00417.34
8.0.260.0070.00017.27
8.0.250.0000.00717.06
8.0.240.0080.00017.00
8.0.230.0000.00717.10
8.0.220.0040.00417.04
8.0.210.0040.00416.91
8.0.200.0060.00017.06
8.0.190.0040.00417.11
8.0.180.0030.00617.04
8.0.170.0040.00416.96
8.0.160.0000.00716.98
8.0.150.0030.00517.06
8.0.140.0070.00016.89
8.0.130.0000.00713.43
8.0.120.0000.00917.03
8.0.110.0040.00417.03
8.0.100.0050.00316.86
8.0.90.0000.00716.87
8.0.80.0110.00716.98
8.0.70.0040.00417.13
8.0.60.0000.00917.08
8.0.50.0040.00416.87
8.0.30.0130.00917.17
8.0.20.0090.01117.40
8.0.10.0070.00017.19
8.0.00.0090.01017.08
7.4.330.0030.00315.18
7.4.320.0060.00016.77
7.4.300.0070.00016.81
7.4.290.0040.00416.81
7.4.280.0030.00516.72
7.4.270.0000.00716.77
7.4.260.0000.00816.71
7.4.250.0000.00716.71
7.4.240.0050.00316.68
7.4.230.0000.00716.73
7.4.220.0000.01816.55
7.4.210.0080.00716.65
7.4.200.0030.00316.70
7.4.160.0100.00716.68
7.4.150.0070.01017.40
7.4.140.0150.00617.86
7.4.130.0090.00716.57
7.4.120.0080.00916.55
7.4.110.0090.00816.67
7.4.100.0040.01316.70
7.4.90.0070.01016.54
7.4.80.0090.01519.39
7.4.70.0110.00616.70
7.4.60.0090.00916.51
7.4.50.0000.00916.48
7.4.40.0160.00316.64
7.4.30.0090.01216.73
7.4.10.0100.00914.92
7.4.00.0100.00715.07
7.3.330.0000.00513.31
7.3.320.0050.00013.31
7.3.310.0000.00716.36
7.3.300.0000.00716.45
7.3.290.0060.00916.41
7.3.280.0050.01016.47
7.3.270.0070.01417.40
7.3.260.0110.00716.57
7.3.250.0110.01016.50
7.3.240.0060.01216.83
7.3.230.0110.00616.71
7.3.210.0120.00916.41
7.3.200.0050.01119.39
7.3.190.0080.00816.75
7.3.180.0100.00716.39
7.3.170.0130.00316.61
7.3.160.0060.00916.66
7.3.130.0060.01114.93
7.3.120.0080.00615.01
7.3.110.0090.01014.90
7.3.100.0030.01214.72
7.3.90.0070.01014.75
7.3.80.0060.00515.04
7.3.70.0070.00714.93
7.3.60.0020.01015.06
7.3.50.0050.00714.89
7.3.40.0050.01014.98
7.3.30.0050.00514.93
7.3.20.0040.01016.81
7.3.10.0050.00816.69
7.3.00.0050.00816.83
7.2.330.0180.00016.79
7.2.320.0060.01216.90
7.2.310.0080.01416.88
7.2.300.0080.00916.65
7.2.290.0100.00616.67
7.2.260.0070.01215.12
7.2.250.0030.01215.22
7.2.240.0050.01115.12
7.2.230.0020.01515.07
7.2.220.0070.00315.26
7.2.210.0050.00915.17
7.2.200.0070.00515.13
7.2.190.0060.00514.81
7.2.180.0080.00515.12
7.2.170.0030.01215.19
7.2.160.0090.00515.32
7.2.150.0050.00817.12
7.2.140.0090.00517.00
7.2.130.0030.01117.10
7.2.120.0090.00517.09
7.2.110.0040.01116.99
7.2.100.0070.00617.04
7.2.90.0060.01117.12
7.2.80.0050.00716.98
7.2.70.0060.01016.79
7.2.60.0050.01217.01
7.2.50.0050.01117.15
7.2.40.0080.00517.08
7.2.30.0070.00517.24
7.2.20.0040.00717.13
7.2.10.0060.00616.89
7.2.00.0060.00817.91
7.1.330.0030.01015.96
7.1.320.0060.01015.90
7.1.310.0050.00815.79
7.1.300.0050.00715.88
7.1.290.0030.01015.71
7.1.280.0040.00715.97
7.1.270.0030.01015.71
7.1.260.0020.00915.95
7.1.250.0060.00816.00
7.1.240.0090.00615.80
7.1.230.0100.00315.79
7.1.220.0140.00316.04
7.1.210.0060.00815.95
7.1.200.0050.00515.91
7.1.190.0090.00615.99
7.1.180.0090.00615.86
7.1.170.0060.00815.85
7.1.160.0080.00515.93
7.1.150.0030.01116.02
7.1.140.0010.01015.85
7.1.130.0070.00716.04
7.1.120.0030.00815.98
7.1.110.0020.00915.70
7.1.100.0020.00716.58
7.1.90.0050.00915.79
7.1.80.0060.00315.98
7.1.70.0020.00916.35
7.1.60.0070.00917.09
7.1.50.0160.00622.24
7.1.40.0070.00716.05
7.1.30.0020.01015.86
7.1.20.0080.01015.81
7.1.10.0070.00515.93
7.1.00.0070.03118.15
7.0.330.0020.01015.58
7.0.320.0090.00515.45
7.0.310.0040.00915.50
7.0.300.0060.00515.46
7.0.290.0030.01215.60
7.0.280.0050.00815.50
7.0.270.0050.00915.47
7.0.260.0070.00515.52
7.0.250.0000.01115.54
7.0.240.0080.00515.55
7.0.230.0040.00615.47
7.0.220.0030.01115.62
7.0.210.0070.00515.44
7.0.200.0040.00415.95
7.0.190.0030.00915.49
7.0.180.0070.00615.64
7.0.170.0040.01015.63
7.0.160.0080.00515.50
7.0.150.0070.00615.60
7.0.140.0040.03017.81
7.0.130.0060.00615.60
7.0.120.0040.01115.63
7.0.110.0050.00915.61
7.0.100.0060.00615.52
7.0.90.0100.00315.64
7.0.80.0020.01015.62
7.0.70.0060.00215.60
7.0.60.0080.02817.00
7.0.50.0040.01716.36
7.0.40.0080.03415.71
7.0.30.0150.02015.78
7.0.20.0150.02815.72
7.0.10.0030.02415.97
7.0.00.0080.03215.81
5.6.400.0040.00514.42
5.6.390.0080.00414.26
5.6.380.0100.00414.42
5.6.370.0070.00714.53
5.6.360.0040.01014.32
5.6.350.0070.01014.14
5.6.340.0030.01114.51
5.6.330.0050.00514.47
5.6.320.0070.00714.44
5.6.310.0030.00814.33
5.6.300.0050.01014.61
5.6.290.0050.01014.24
5.6.280.0020.03416.54
5.6.270.0080.00514.38
5.6.260.0060.01014.58
5.6.250.0050.00814.37
5.6.240.0070.00514.55
5.6.230.0070.00514.24
5.6.220.0010.01014.31
5.6.210.0040.01916.57
5.6.200.0070.02715.60
5.6.190.0030.02116.33
5.6.180.0160.02316.39
5.6.170.0120.02016.44
5.6.160.0070.03216.40
5.6.150.0050.02715.61
5.6.140.0090.02315.69
5.6.130.0050.02515.51
5.6.120.0060.02316.66
5.6.110.0080.02916.66
5.6.100.0110.03016.49
5.6.90.0070.03516.53
5.6.80.0050.02616.38
5.6.70.0060.00614.34
5.6.60.0070.00814.17
5.6.50.0020.01514.29
5.6.40.0090.00214.27
5.6.30.0060.00414.31
5.6.20.0050.00814.40
5.6.10.0050.00814.16
5.6.00.0070.00414.24
5.5.380.0030.01114.00
5.5.370.0080.00514.17
5.5.360.0060.00814.06
5.5.350.0120.02816.33
5.5.340.0040.03815.38
5.5.330.0020.02316.30
5.5.320.1140.02116.19
5.5.310.0160.01816.10
5.5.300.0080.03115.39
5.5.290.0080.02915.53
5.5.280.0050.01816.31
5.5.270.0070.03416.54
5.5.260.0050.03316.25
5.5.250.0050.03016.24
5.5.240.0030.03116.06
5.5.230.0070.00614.12
5.5.220.0070.00714.07
5.5.210.0070.00614.17
5.5.200.0060.00814.19
5.5.190.0070.00914.18
5.5.180.0050.01114.09
5.5.170.0030.01014.11
5.5.160.0040.00914.00
5.5.150.0020.00913.77
5.5.140.0090.00714.03
5.5.130.0050.01014.20
5.5.120.0090.00613.99
5.5.110.0080.00614.14
5.5.100.0050.01014.10
5.5.90.0070.00714.11
5.5.80.0040.00714.02
5.5.70.0050.00514.05
5.5.60.0090.00614.24
5.5.50.0020.01214.34
5.5.40.0030.00814.11
5.5.30.0060.00714.04
5.5.20.0070.00614.11
5.5.10.0030.01013.83
5.5.00.0080.00614.04
5.4.450.0120.02013.78
5.4.440.0350.02313.85
5.4.430.0050.02313.83
5.4.420.0040.02313.87
5.4.410.0090.02013.54
5.4.400.0110.01813.37
5.4.390.0070.02013.43
5.4.380.0080.02113.53
5.4.370.0090.01513.44
5.4.360.0030.02013.45
5.4.350.0070.01611.12
5.4.340.0080.01711.25
5.4.330.0080.00210.98
5.4.320.0020.01811.53
5.4.310.0040.01711.46
5.4.300.0060.01511.43
5.4.290.0060.01611.52
5.4.280.0040.01611.38
5.4.270.0070.01511.32
5.4.260.0060.01911.49
5.4.250.0050.01811.47
5.4.240.0050.01711.44
5.4.230.0060.01511.37
5.4.220.0060.02011.37
5.4.210.0050.01711.30
5.4.200.0040.02011.38
5.4.190.0050.01811.18
5.4.180.0060.01411.38
5.4.170.0030.01911.33
5.4.160.0050.01411.31
5.4.150.0050.02111.22
5.4.140.0050.01911.30
5.4.130.0030.02211.16
5.4.120.0030.01611.20
5.4.110.0050.01711.21
5.4.100.0030.01911.18
5.4.90.0050.01911.25
5.4.80.0040.02011.26
5.4.70.0020.01911.30
5.4.60.0080.01511.23
5.4.50.0050.01711.18
5.4.40.0060.01911.33
5.4.30.0060.01711.34
5.4.20.0080.01411.25
5.4.10.0060.01711.06
5.4.00.0050.02011.02
5.3.290.0050.04012.80
5.3.280.0060.03712.71
5.3.270.0090.04112.73
5.3.260.0070.04812.71
5.3.250.0070.04612.72
5.3.240.0060.03712.71
5.3.230.0070.04412.71
5.3.220.0080.03712.68
5.3.210.0070.05512.68
5.3.200.0080.03512.68
5.3.190.0070.03612.68
5.3.180.0060.04212.68
5.3.170.0060.03512.66
5.3.160.0060.04112.68
5.3.150.0070.03612.67
5.3.140.0070.04112.66
5.3.130.0060.03812.66
5.3.120.0100.03412.66
5.3.110.0060.04312.66
5.3.100.0040.03912.12
5.3.90.0040.03912.08
5.3.80.0080.03512.08
5.3.70.0070.03712.08
5.3.60.0060.03612.06
5.3.50.0040.03812.00
5.3.40.0050.04212.00
5.3.30.0080.03911.96
5.3.20.0100.04111.74
5.3.10.0080.03811.71
5.3.00.0050.04211.69
5.2.170.0030.0379.20
5.2.160.0070.0359.20
5.2.150.0090.0359.20
5.2.140.0040.0309.20
5.2.130.0090.0429.16
5.2.120.0030.0369.15
5.2.110.0080.0379.16
5.2.100.0080.0419.16
5.2.90.0060.0429.16
5.2.80.0060.0349.16
5.2.70.0070.0369.16
5.2.60.0020.0339.11
5.2.50.0080.0479.07
5.2.40.0050.0299.05
5.2.30.0060.0369.03
5.2.20.0050.0289.02
5.2.10.0030.0298.93
5.2.00.0070.0288.79
5.1.60.0030.0288.07
5.1.50.0030.0268.07
5.1.40.0050.0238.05
5.1.30.0040.0338.40
5.1.20.0040.0268.43
5.1.10.0030.0268.15
5.1.00.0030.0268.14
5.0.50.0030.0206.63
5.0.40.0040.0186.49
5.0.30.0010.0356.30
5.0.20.0040.0276.28
5.0.10.0010.0216.26
5.0.00.0050.0426.25
4.4.90.0010.0234.77
4.4.80.0030.0194.75
4.4.70.0020.0334.75
4.4.60.0040.0234.76
4.4.50.0030.0144.77
4.4.40.0040.0254.71
4.4.30.0010.0184.76
4.4.20.0020.0154.84
4.4.10.0000.0174.85
4.4.00.0030.0244.76
4.3.110.0030.0214.67
4.3.100.0030.0194.66
4.3.90.0030.0144.63
4.3.80.0010.0264.58
4.3.70.0020.0154.63
4.3.60.0040.0134.63
4.3.50.0030.0164.63
4.3.40.0010.0364.54
4.3.30.0020.0173.30
4.3.20.0020.0163.28
4.3.10.0040.0163.24
4.3.00.0170.0276.82

preferences:
52.28 ms | 400 KiB | 5 Q