3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt="Fatti&Storie 5 - Lorem ipsum dolor [12] sit amet [nid:112]"; $re1=".*?"; $re2="(\\[)"; $re3="((?:[a-z][a-z0-9_]*))"; $re4="(:)"; $re5='(\\d+)'; if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5."/is", $txt, $matches)) { $c1=$matches[1][0]; $var1=$matches[2][0]; $c2=$matches[3][0]; $int1=$matches[4][0]; print "($c1) ($var1) ($c2) ($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.60.0040.01116.75
8.3.50.0090.00822.90
8.3.40.0090.00918.96
8.3.30.0060.00819.05
8.3.20.0070.00020.30
8.3.10.0080.00023.70
8.3.00.0040.00419.50
8.2.180.0150.00018.41
8.2.170.0040.01119.16
8.2.160.0100.00322.96
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00421.22
8.2.110.0040.00422.26
8.2.100.0080.00319.25
8.2.90.0070.00419.22
8.2.80.0060.00317.97
8.2.70.0030.00617.75
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0040.00418.15
8.2.30.0030.00618.12
8.2.20.0020.00518.04
8.2.10.0040.00418.30
8.2.00.0030.00517.91
8.1.280.0000.01825.92
8.1.270.0030.00523.81
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.92
8.1.230.0070.00419.01
8.1.220.0000.00817.78
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0040.00422.11
8.1.150.0040.00418.84
8.1.140.0000.00717.62
8.1.130.0070.00017.83
8.1.120.0000.00717.64
8.1.110.0000.00817.52
8.1.100.0000.00817.59
8.1.90.0070.00017.65
8.1.80.0040.00417.66
8.1.70.0030.00317.58
8.1.60.0030.00517.79
8.1.50.0030.00517.64
8.1.40.0080.00017.69
8.1.30.0080.00017.79
8.1.20.0040.00417.84
8.1.10.0000.00817.68
8.1.00.0040.00417.75
8.0.300.0070.00018.77
8.0.290.0000.00717.00
8.0.280.0000.00718.55
8.0.270.0030.00317.26
8.0.260.0030.00317.29
8.0.250.0030.00317.18
8.0.240.0070.00017.14
8.0.230.0000.00717.09
8.0.220.0030.00517.10
8.0.210.0030.00717.00
8.0.200.0030.00317.01
8.0.190.0040.00417.02
8.0.180.0040.00417.13
8.0.170.0000.00717.02
8.0.160.0090.00017.05
8.0.150.0000.00917.06
8.0.140.0000.00716.95
8.0.130.0030.00313.54
8.0.120.0040.00417.07
8.0.110.0050.00317.01
8.0.100.0000.00716.96
8.0.90.0030.00516.87
8.0.80.0100.00717.03
8.0.70.0070.00016.85
8.0.60.0040.00416.96
8.0.50.0030.00517.06
8.0.30.0180.00417.29
8.0.20.0120.00717.40
8.0.10.0040.00416.98
8.0.00.0060.01217.02
7.4.330.0050.00015.11
7.4.320.0030.00316.76
7.4.300.0000.00716.84
7.4.290.0040.00416.83
7.4.280.0000.00816.81
7.4.270.0040.00416.69
7.4.260.0080.00016.62
7.4.250.0050.00216.73
7.4.240.0040.00416.88
7.4.230.0000.00716.78
7.4.220.0090.00916.75
7.4.210.0130.00716.77
7.4.200.0000.00716.89
7.4.160.0060.01016.50
7.4.150.0120.00617.40
7.4.140.0120.01117.86
7.4.130.0080.01016.89
7.4.120.0110.00716.81
7.4.110.0160.00016.74
7.4.100.0120.00916.83
7.4.90.0140.00316.80
7.4.80.0100.01019.39
7.4.70.0100.00716.73
7.4.60.0070.01416.53
7.4.50.0000.00816.62
7.4.40.0130.00316.62
7.4.30.0070.01416.78
7.4.10.0040.01515.13
7.4.00.0070.00915.09
7.3.330.0050.00013.34
7.3.320.0000.00613.24
7.3.310.0000.00716.39
7.3.300.0070.00016.49
7.3.290.0030.01016.53
7.3.280.0090.01016.50
7.3.270.0120.01217.40
7.3.260.0190.00316.81
7.3.250.0110.00916.70
7.3.240.0140.00416.50
7.3.230.0130.01016.80
7.3.210.0190.00816.72
7.3.200.0150.00319.39
7.3.190.0110.00716.47
7.3.180.0120.00416.50
7.3.170.0100.00716.81
7.3.160.0080.00816.64
7.3.130.0110.00714.96
7.3.120.0030.01214.96
7.3.110.0040.01814.79
7.3.100.0060.00615.00
7.3.90.0090.00614.79
7.3.80.0040.01114.91
7.3.70.0000.01714.67
7.3.60.0040.01115.04
7.3.50.0070.00714.88
7.3.40.0040.01214.84
7.3.30.0060.00314.64
7.3.20.0070.00316.64
7.3.10.0030.01216.74
7.3.00.0000.01216.64
7.2.330.0100.00716.74
7.2.320.0100.01016.79
7.2.310.0120.01216.78
7.2.300.0100.00616.87
7.2.290.0140.00316.98
7.2.260.0070.01014.95
7.2.250.0060.01515.31
7.2.240.0060.01015.28
7.2.230.0060.01014.94
7.2.220.0060.00915.22
7.2.210.0110.00015.22
7.2.200.0060.01215.33
7.2.190.0110.00015.14
7.2.180.0030.00615.09
7.2.170.0060.01015.22
7.2.160.0030.01015.29
7.2.150.0060.00917.05
7.2.140.0070.00716.58
7.2.130.0090.00616.75
7.2.120.0100.00316.83
7.2.110.0000.01017.07
7.2.100.0000.01316.91
7.2.90.0030.01417.04
7.2.80.0030.01117.09
7.2.70.0050.00617.05
7.2.60.0030.00917.10
7.2.50.0120.00317.14
7.2.40.0040.00816.88
7.2.30.0040.01217.15
7.2.20.0030.01016.99
7.2.10.0090.00616.96
7.2.00.0070.00718.37
7.1.330.0070.01115.85
7.1.320.0030.00915.89
7.1.310.0040.00415.55
7.1.300.0000.01715.88
7.1.290.0070.00715.86
7.1.280.0090.00615.58
7.1.270.0070.00715.84
7.1.260.0090.00615.56
7.1.250.0060.00816.05
7.1.240.0110.00415.83
7.1.230.0040.01115.87
7.1.220.0060.00915.89
7.1.210.0060.00615.90
7.1.200.0090.00316.03
7.1.190.0040.01215.99
7.1.180.0030.00715.79
7.1.170.0070.00715.61
7.1.160.0060.00616.02
7.1.150.0070.00715.54
7.1.140.0040.00815.98
7.1.130.0070.00715.90
7.1.120.0030.01015.95
7.1.110.0030.01015.85
7.1.100.0080.00416.84
7.1.90.0000.00915.48
7.1.80.0000.01215.91
7.1.70.0020.01116.78
7.1.60.0140.00517.49
7.1.50.0090.00816.48
7.1.40.0100.00715.75
7.1.30.0000.00915.96
7.1.20.0030.00815.77
7.1.10.0040.01115.80
7.1.00.0040.04219.13
7.0.330.0030.00715.30
7.0.320.0030.01215.52
7.0.310.0030.00715.57
7.0.300.0060.01115.50
7.0.290.0000.00915.40
7.0.280.0100.00715.18
7.0.270.0100.00615.59
7.0.260.0060.00615.20
7.0.250.0090.00615.27
7.0.240.0020.00715.36
7.0.230.0040.01115.55
7.0.220.0040.01115.44
7.0.210.0000.01615.42
7.0.200.0050.00616.18
7.0.190.0000.01415.23
7.0.180.0070.00715.62
7.0.170.0090.00615.49
7.0.160.0120.00015.14
7.0.150.0110.00415.39
7.0.140.0080.03618.82
7.0.130.0000.01615.64
7.0.120.0090.00615.57
7.0.110.0030.00915.67
7.0.100.0070.00715.49
7.0.90.0090.00615.53
7.0.80.0030.00915.16
7.0.70.0030.00715.14
7.0.60.0090.03117.72
7.0.50.0050.03816.58
7.0.40.0100.04516.75
7.0.30.0180.02416.74
7.0.20.0100.02516.81
7.0.10.0060.04316.85
7.0.00.0030.03816.79
5.6.400.0060.01114.37
5.6.390.0060.00314.37
5.6.380.0090.00314.25
5.6.370.0040.01113.93
5.6.360.0120.00414.14
5.6.350.0030.00714.28
5.6.340.0080.00614.30
5.6.330.0060.00614.40
5.6.320.0040.00913.93
5.6.310.0080.00414.24
5.6.300.0060.00614.73
5.6.290.0000.01314.18
5.6.280.0000.04217.73
5.6.270.0060.00314.34
5.6.260.0040.00814.35
5.6.250.0050.00514.37
5.6.240.0070.00714.04
5.6.230.0030.00814.33
5.6.220.0090.00614.33
5.6.210.0120.04017.48
5.6.200.0040.02516.38
5.6.190.0060.04817.47
5.6.180.0220.03617.36
5.6.170.0130.03317.30
5.6.160.0050.04317.30
5.6.150.0080.01916.32
5.6.140.0050.04516.13
5.6.130.0080.02116.16
5.6.120.0030.03217.77
5.6.110.0130.03317.69
5.6.100.0040.02217.53
5.6.90.0030.05017.47
5.6.80.0100.01717.22
5.6.70.0060.00314.07
5.6.60.0070.00714.23
5.6.50.0120.00314.11
5.6.40.0060.00914.20
5.6.30.0070.01414.13
5.6.20.0090.00613.99
5.6.10.0040.01113.99
5.6.00.0070.01014.14
5.5.380.0070.00714.32
5.5.370.0060.00314.37
5.5.360.0060.00614.33
5.5.350.0050.02317.30
5.5.340.0110.04016.07
5.5.330.0090.02717.19
5.5.320.0020.04317.34
5.5.310.0120.02717.18
5.5.300.0110.02116.16
5.5.290.0030.04516.07
5.5.280.0050.03917.58
5.5.270.0130.03817.49
5.5.260.0070.02817.70
5.5.250.0110.04317.45
5.5.240.2130.02317.20
5.5.230.0070.01114.15
5.5.220.0080.00614.57
5.5.210.0060.00314.54
5.5.200.0000.02114.12
5.5.190.0090.00614.31
5.5.180.0090.00614.37
5.5.170.0110.00614.48
5.5.160.0000.01414.28
5.5.150.0040.00814.55
5.5.140.0030.01413.85
5.5.130.0100.00713.99
5.5.120.0100.00314.34
5.5.110.0110.00414.50
5.5.100.0000.01214.19
5.5.90.0000.01314.18
5.5.80.0070.00414.24
5.5.70.0040.01113.77
5.5.60.0060.00614.11
5.5.50.0160.00014.20
5.5.40.0070.00314.32
5.5.30.0060.00614.37
5.5.20.0150.00313.99
5.5.10.0140.00314.24
5.5.00.0060.01314.45
5.4.450.0260.02116.38
5.4.440.0130.02716.37
5.4.430.0160.02616.40
5.4.420.0140.02316.22
5.4.410.0230.02016.34
5.4.400.0150.02616.29
5.4.390.0160.02316.14
5.4.380.0080.03216.01
5.4.370.0070.03016.01
5.4.360.0100.02815.91
5.4.350.0130.02816.00
5.4.340.0120.02915.92
5.4.330.0070.00313.35
5.4.320.0040.02212.90
5.4.310.0070.02312.90
5.4.300.0060.02312.90
5.4.290.0040.02412.90
5.4.280.0050.02212.85
5.4.270.0050.02412.85
5.4.260.0050.02412.85
5.4.250.0050.02312.85
5.4.240.0040.02312.85
5.4.230.0030.02412.84
5.4.220.0020.02412.84
5.4.210.0060.02312.84
5.4.200.0070.02112.85
5.4.190.0030.02512.84
5.4.180.0070.02112.84
5.4.170.0050.02312.85
5.4.160.0050.02012.85
5.4.150.0060.01912.84
5.4.140.0050.02212.69
5.4.130.0020.02312.68
5.4.120.0050.02112.66
5.4.110.0020.02412.66
5.4.100.0040.02212.66
5.4.90.0070.01812.66
5.4.80.0020.02612.66
5.4.70.0050.01912.66
5.4.60.0060.02112.66
5.4.50.0040.02212.66
5.4.40.0040.01812.65
5.4.30.0060.02112.65
5.4.20.0030.02212.65
5.4.10.0050.02212.65
5.4.00.0070.01912.39
5.3.290.0040.04212.80
5.3.280.0070.03712.71
5.3.270.0050.04112.72
5.3.260.0060.04112.72
5.3.250.0080.03612.72
5.3.240.0090.03612.72
5.3.230.0060.03812.71
5.3.220.0040.04012.68
5.3.210.0060.04012.68
5.3.200.0070.03612.68
5.3.190.0050.03912.68
5.3.180.0090.03412.67
5.3.170.0070.03612.67
5.3.160.0050.04212.68
5.3.150.0060.03912.67
5.3.140.0050.03612.66
5.3.130.0070.03712.66
5.3.120.0080.03912.66
5.3.110.0090.04912.66
5.3.100.0070.04512.12
5.3.90.0080.03912.09
5.3.80.0050.03912.08
5.3.70.0100.03412.07
5.3.60.0070.03512.07
5.3.50.0070.03612.00
5.3.40.0100.03312.00
5.3.30.0070.03411.96
5.3.20.0080.03311.73
5.3.10.0040.03711.70
5.3.00.0060.03611.69
5.2.170.0050.0309.20
5.2.160.0050.0289.19
5.2.150.0030.0329.19
5.2.140.0040.0319.19
5.2.130.0050.0289.16
5.2.120.0050.0279.15
5.2.110.0050.0289.16
5.2.100.0050.0289.15
5.2.90.0050.0289.16
5.2.80.0030.0319.15
5.2.70.0010.0339.15
5.2.60.0060.0289.10
5.2.50.0050.0349.07
5.2.40.0020.0379.05
5.2.30.0060.0399.03
5.2.20.0050.0309.02
5.2.10.0040.0288.92
5.2.00.0040.0358.79
5.1.60.0040.0238.07
5.1.50.0020.0278.07
5.1.40.0000.0288.04
5.1.30.0070.0238.39
5.1.20.0040.0268.42
5.1.10.0040.0288.14
5.1.00.0050.0248.14
5.0.50.0050.0186.63
5.0.40.0020.0206.48
5.0.30.0080.0276.30
5.0.20.0040.0196.27
5.0.10.0020.0216.25
5.0.00.0030.0316.24
4.4.90.0020.0164.77
4.4.80.0020.0164.76
4.4.70.0020.0164.75
4.4.60.0000.0184.76
4.4.50.0010.0174.77
4.4.40.0030.0264.71
4.4.30.0030.0154.76
4.4.20.0030.0154.84
4.4.10.0030.0224.85
4.4.00.0010.0274.76
4.3.110.0040.0144.67
4.3.100.0040.0134.66
4.3.90.0030.0144.64
4.3.80.0020.0254.59
4.3.70.0010.0154.63
4.3.60.0010.0164.63
4.3.50.0020.0164.63
4.3.40.0030.0234.54
4.3.30.0020.0163.30
4.3.20.0020.0163.27
4.3.10.0010.0173.23
4.3.00.0030.01315.97

preferences:
49.4 ms | 401 KiB | 5 Q