3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt="Fatti&Storie 5 - Lorem ipsum dolor [12] sit amet [nid:5]"; $re1=".*?"; $re2="(\\[)"; $re3="((?:[a-z][a-z0-9_]*))"; $re4="(:)"; if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4."/is", $txt, $matches)) { $c1=$matches[1][0]; $var1=$matches[2][0]; $c2=$matches[3][0]; print "($c1) ($var1) ($c2) \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.0070.00716.63
8.3.50.0090.00922.91
8.3.40.0150.00318.92
8.3.30.0140.00019.21
8.3.20.0000.00720.29
8.3.10.0040.00423.53
8.3.00.0060.00317.75
8.2.180.0060.00916.88
8.2.170.0120.00918.91
8.2.160.0060.00822.96
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.01026.16
8.2.120.0040.00421.14
8.2.110.0030.00621.09
8.2.100.0120.00017.87
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0030.00717.93
8.2.50.0000.01018.07
8.2.40.0040.00418.34
8.2.30.0000.00718.23
8.2.20.0000.00717.86
8.2.10.0000.00718.16
8.2.00.0070.00017.93
8.1.280.0070.00725.92
8.1.270.0000.00823.82
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0050.00523.92
8.1.230.0090.00317.79
8.1.220.0040.00417.77
8.1.210.0040.00418.77
8.1.200.0040.00817.47
8.1.190.0000.00817.25
8.1.180.0040.00418.10
8.1.170.0030.00618.66
8.1.160.0080.00022.06
8.1.150.0040.00418.92
8.1.140.0080.00017.54
8.1.130.0040.00417.86
8.1.120.0000.00717.59
8.1.110.0040.00417.64
8.1.100.0000.00717.61
8.1.90.0000.00717.67
8.1.80.0000.00717.65
8.1.70.0040.00417.52
8.1.60.0030.00617.73
8.1.50.0030.00517.59
8.1.40.0080.00017.75
8.1.30.0030.00617.80
8.1.20.0030.00517.71
8.1.10.0050.00217.73
8.1.00.0050.00317.68
8.0.300.0040.00418.77
8.0.290.0080.00016.72
8.0.280.0030.00318.41
8.0.270.0080.00017.21
8.0.260.0050.00317.21
8.0.250.0030.00317.17
8.0.240.0000.00717.00
8.0.230.0030.00317.13
8.0.220.0030.00317.08
8.0.210.0030.00316.97
8.0.200.0030.00316.98
8.0.190.0030.00317.06
8.0.180.0040.00417.11
8.0.170.0040.00417.13
8.0.160.0000.00717.00
8.0.150.0070.00317.02
8.0.140.0000.00817.06
8.0.130.0000.00613.48
8.0.120.0000.00716.91
8.0.110.0050.00517.00
8.0.100.0040.00417.04
8.0.90.0000.00817.17
8.0.80.0030.01317.11
8.0.70.0060.00317.05
8.0.60.0080.00016.95
8.0.50.0040.00417.10
8.0.30.0100.00917.23
8.0.20.0130.00617.40
8.0.10.0000.00717.16
8.0.00.0170.00316.92
7.4.330.0020.00215.22
7.4.320.0000.00616.68
7.4.300.0030.00316.78
7.4.290.0070.00016.84
7.4.280.0000.00816.74
7.4.270.0000.00716.75
7.4.260.0030.00516.85
7.4.250.0080.00016.86
7.4.240.0010.00616.76
7.4.230.0030.00316.52
7.4.220.0030.01516.78
7.4.210.0070.00716.77
7.4.200.0000.00716.78
7.4.160.0040.01116.71
7.4.150.0140.00517.40
7.4.140.0120.00917.86
7.4.130.0100.00816.84
7.4.120.0090.01216.59
7.4.110.0140.00316.83
7.4.100.0100.00716.93
7.4.90.0030.01316.58
7.4.80.0120.01319.39
7.4.70.0100.00716.68
7.4.60.0030.01416.59
7.4.50.0050.00016.38
7.4.40.0040.01516.75
7.4.30.0070.01016.52
7.4.00.0060.00915.13
7.3.330.0030.00313.31
7.3.320.0030.00313.40
7.3.310.0000.00716.43
7.3.300.0030.00316.46
7.3.290.0150.00316.49
7.3.280.0090.00816.50
7.3.270.0090.00917.40
7.3.260.0210.02116.41
7.3.250.0110.00816.48
7.3.240.0120.00916.43
7.3.230.0070.01116.50
7.3.210.0030.01316.80
7.3.200.0060.00919.39
7.3.190.0060.01216.81
7.3.180.0140.00416.73
7.3.170.0060.01316.62
7.3.160.0070.01416.90
7.2.330.0070.01116.82
7.2.320.0150.00616.94
7.2.310.0070.01116.73
7.2.300.0110.00616.79
7.2.290.0090.00617.04
7.1.200.0000.01216.02
7.1.70.0120.00917.47
7.1.60.0120.01219.40
7.1.50.0100.01717.20
7.1.00.0100.07022.59
7.0.200.0040.00416.83
7.0.140.0030.07321.96
7.0.60.0100.04719.93
7.0.50.0030.04317.77
7.0.40.0130.08020.26
7.0.30.0500.04020.05
7.0.20.0330.04720.31
7.0.10.0230.05720.22
7.0.00.0130.07020.42
5.6.280.0000.07721.12
5.6.210.0100.07020.55
5.6.200.0070.08018.19
5.6.190.0100.04320.62
5.6.180.4270.03320.56
5.6.170.0270.08020.50
5.6.160.0170.08020.44
5.6.150.0030.08318.21
5.6.140.0030.05318.21
5.6.130.0000.09018.18
5.6.120.0070.06020.96
5.6.110.0070.06021.01
5.6.100.0130.07720.98
5.6.90.0200.07021.10
5.6.80.0100.07720.52
5.6.70.0230.06720.37
5.5.350.0300.07720.46
5.5.340.0030.08017.93
5.5.330.0070.04020.21
5.5.320.0230.04320.20
5.5.310.0230.04720.18
5.5.300.0100.08017.99
5.5.290.0070.04017.95
5.5.280.0030.04720.88
5.5.270.0030.04720.97
5.5.260.0070.05020.73
5.5.250.0130.07020.69
5.5.240.4170.03720.23
5.4.450.0300.06719.24
5.4.440.0230.08719.25
5.4.430.0230.08019.57
5.4.420.0230.07019.38
5.4.410.0130.04719.08
5.4.400.0300.03319.14
5.4.390.0300.06318.81
5.4.380.0200.03719.09
5.4.370.0200.03319.09
5.4.360.0170.06719.08
5.4.350.0230.07019.13
5.4.340.0270.06019.25
5.4.320.0200.04718.80
5.4.310.0200.06318.92
5.4.300.0130.04319.09
5.4.290.0170.03719.08
5.4.280.0200.05319.09
5.4.270.0200.03719.25
5.4.260.0230.05719.16
5.4.250.0100.05019.12
5.4.240.0230.04019.13
5.4.230.0230.03319.08
5.4.220.0230.03318.77
5.4.210.0230.05318.80
5.4.200.0230.06319.05
5.4.190.0200.07719.21
5.4.180.0070.06318.77
5.4.170.0230.03319.12
5.4.160.0200.07018.89
5.4.150.0370.03319.20
5.4.140.0270.07016.43
5.4.130.0200.07016.34
5.4.120.0270.04716.37
5.4.110.0200.03716.48
5.4.100.0230.06316.25
5.4.90.0230.03016.30
5.4.80.0230.03016.05
5.4.70.0200.03316.29
5.4.60.0370.04016.12
5.4.50.0170.03716.36
5.4.40.0230.04016.31
5.4.30.0170.05016.15
5.4.20.0230.05016.31
5.4.10.0170.03716.20
5.4.00.0230.03715.77
5.3.290.0170.04314.50
5.3.280.0170.04714.53
5.3.270.0300.05714.51
5.3.260.0200.04714.45
5.3.250.0200.04714.48
5.3.240.0130.06314.45
5.3.230.0130.05714.54
5.3.220.0230.03714.52
5.3.210.0170.04714.58
5.3.200.0230.07014.40
5.3.190.0130.05714.52
5.3.180.0100.04014.61
5.3.170.0030.05714.46
5.3.160.1270.03014.58
5.3.150.1800.03314.41
5.3.140.1630.03314.50
5.3.130.1500.03714.38
5.3.120.1700.03014.48
5.3.110.1630.04714.64
5.3.100.1670.03313.94
5.3.90.1700.04313.97
5.3.80.1700.04013.96
5.3.70.1630.03013.82
5.3.60.0070.06713.95
5.3.50.0070.04014.00
5.3.40.0030.04313.79
5.3.30.0070.03713.96
5.3.20.0030.05313.66
5.3.10.0330.06013.63
5.3.00.0070.05313.48
5.2.170.0130.05011.20
5.2.160.0100.03011.00
5.2.150.0870.03711.31
5.2.140.1570.03711.23
5.2.130.1370.02011.04
5.2.120.1570.03011.16
5.2.110.1600.02310.94
5.2.100.1530.03710.96
5.2.90.1370.03011.18
5.2.80.1230.02710.95
5.2.70.1570.03010.98
5.2.60.1500.02710.89
5.2.50.0070.05710.92
5.2.40.0030.04011.15
5.2.30.0030.03310.80
5.2.20.0030.02710.96
5.2.10.0400.03010.86
5.2.00.0930.03710.61
5.1.60.0000.0309.93
5.1.50.0070.05010.00
5.1.40.0000.0409.88
5.1.30.0500.03310.34
5.1.20.1230.03010.39
5.1.10.1270.03710.04
5.1.00.1100.0239.96
5.0.50.0500.0238.52
5.0.40.0630.0178.48
5.0.30.0500.0338.16
5.0.20.0630.0208.12
5.0.10.0570.0178.25
5.0.00.0630.0338.05
4.4.90.0570.0137.53
4.4.80.0600.0177.53
4.4.70.0500.0177.53
4.4.60.0530.0137.53
4.4.50.0570.0207.53
4.4.40.0700.0277.53
4.4.30.0670.0177.53
4.4.20.0570.0107.53
4.4.10.0600.0177.53
4.4.00.0530.0237.53
4.3.110.0630.0207.53
4.3.100.0600.0107.53
4.3.90.0670.0237.53
4.3.80.0030.0277.53
4.3.70.0070.0237.53
4.3.60.0070.0307.53
4.3.50.0000.0277.53
4.3.40.0000.0277.53
4.3.30.0030.0137.53
4.3.20.0000.0177.53
4.3.10.0000.0137.53
4.3.00.0000.0177.53

preferences:
45.4 ms | 401 KiB | 5 Q