3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cool ='<li><span class="sidebar-vote-number"><a href="/story.php?title=gamestarts now">1</a></span><span class="sidebar-article"><a href="/story.php?title=googlegoogle-google-google" class="switchurl">GoogleGoogle Google Google</a></span></li> Published News</a></div> </div> <div class="boxcontent"> <ul class="sidebar-stories"> <li><span class="sidebar-vote-number"><a href="/story.php?title=googlegoogle-google-google">1</a></span><span class="sidebar-article"><a href="/story.php?title=googlegoogle-google-google" class="switchurl">GoogleGoogle Google Google</a></span></li>'; preg_match('~Published News.*<li><span class="sidebar-vote-number"><a href="([^"]*)~msU', $cool, $match); var_dump($match);

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.0210.00016.63
8.3.60.0070.01118.31
8.3.50.0130.00721.99
8.3.40.0070.00718.84
8.3.30.0140.00018.91
8.3.20.0000.00818.76
8.3.10.0070.00020.96
8.3.00.0040.00423.53
8.2.180.0070.00716.75
8.2.170.0090.00622.96
8.2.160.0070.00720.39
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0040.00420.98
8.2.110.0050.00521.12
8.2.100.0110.00017.59
8.2.90.0040.00419.25
8.2.80.0040.00417.97
8.2.70.0090.00017.75
8.2.60.0050.00317.80
8.2.50.0030.00618.07
8.2.40.0030.00618.09
8.2.30.0040.00419.74
8.2.20.0060.00317.80
8.2.10.0050.00317.86
8.2.00.0030.00517.83
8.1.280.0060.00925.92
8.1.270.0080.00023.99
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00321.28
8.1.230.0040.00717.52
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0050.00317.35
8.1.180.0070.00418.10
8.1.170.0030.00618.77
8.1.160.0000.00818.85
8.1.150.0040.00418.74
8.1.140.0050.00517.55
8.1.130.0030.00317.86
8.1.120.0000.00717.55
8.1.110.0000.00917.48
8.1.100.0050.00317.47
8.1.90.0050.00217.55
8.1.80.0070.00017.46
8.1.70.0000.00817.54
8.1.60.0040.00417.62
8.1.50.0000.00817.56
8.1.40.0030.00617.48
8.1.30.0040.00417.70
8.1.20.0080.00017.75
8.1.10.0030.00617.68
8.1.00.0030.00517.57
8.0.300.0060.00318.77
8.0.290.0040.00416.74
8.0.280.0070.00018.42
8.0.270.0000.00717.16
8.0.260.0000.00716.82
8.0.250.0000.00816.96
8.0.240.0060.00617.05
8.0.230.0030.00417.12
8.0.220.0020.00516.97
8.0.210.0000.00717.03
8.0.200.0030.00316.93
8.0.190.0040.00316.92
8.0.180.0050.00217.01
8.0.170.0040.00417.02
8.0.160.0050.00317.03
8.0.150.0110.00016.82
8.0.140.0000.01016.97
8.0.130.0050.00013.40
8.0.120.0040.00416.93
8.0.110.0080.00016.89
8.0.100.0050.00216.86
8.0.90.0070.00017.02
8.0.80.0070.01016.88
8.0.70.0050.00216.77
8.0.60.0030.00517.05
8.0.50.0040.00417.04
8.0.30.0140.00717.15
8.0.20.0100.00717.41
8.0.10.0080.00017.07
8.0.00.0070.01116.91
7.4.330.0000.00514.92
7.4.320.0030.00316.52
7.4.300.0060.00016.76
7.4.290.0000.00816.80
7.4.280.0040.00416.64
7.4.270.0030.00516.67
7.4.260.0030.00313.33
7.4.250.0000.00816.67
7.4.240.0030.00516.60
7.4.230.0030.00316.77
7.4.220.0110.00716.64
7.4.210.0060.01016.74
7.4.200.0070.00016.56
7.4.190.0070.00016.89
7.4.160.0120.00416.68
7.4.150.0120.00617.40
7.4.140.0030.01517.86
7.4.130.0070.00916.54
7.4.120.0110.00716.75
7.4.110.0060.01216.63
7.4.100.0060.01516.53
7.4.90.0100.01316.57
7.4.80.0170.00719.37
7.4.70.0090.01216.76
7.4.60.0120.00616.66
7.4.50.0040.00416.44
7.4.40.0080.00822.27
7.4.30.0130.00316.51
7.4.00.0090.00614.86
7.3.330.0000.00613.14
7.3.320.0060.00013.00
7.3.310.0000.00716.36
7.3.300.0030.00316.16
7.3.290.0060.01116.35
7.3.280.0100.00616.26
7.3.270.0090.00917.40
7.3.260.0140.00618.24
7.3.250.0100.00816.45
7.3.240.0070.01516.54
7.3.230.0140.00816.44
7.3.210.0160.00716.49
7.3.200.0130.01119.39
7.3.190.0000.01616.63
7.3.180.0080.00816.31
7.3.170.0120.00416.52
7.3.160.0140.00316.25
7.3.120.0100.00614.48
7.3.10.0000.01416.96
7.3.00.0080.00416.50
7.2.330.0080.00816.46
7.2.320.0030.01616.54
7.2.310.0090.01616.50
7.2.300.0130.00316.69
7.2.290.0070.01016.55
7.2.130.0030.01016.91
7.2.120.0030.00716.90
7.2.110.0090.00617.02
7.2.100.0040.00716.91
7.2.90.0070.01016.89
7.2.80.0040.01416.88
7.2.70.0030.00617.10
7.2.60.0080.00716.98
7.2.50.0000.01517.07
7.2.40.0050.00517.01
7.2.30.0090.00616.96
7.2.20.0040.00816.81
7.2.10.0090.00616.67
7.2.00.0080.00718.06
7.1.250.0030.00715.72
7.1.100.0030.00718.22
7.1.70.0030.00717.29
7.1.60.0000.02319.40
7.1.50.0100.01716.88
7.1.00.0030.07022.50
7.0.200.0000.00716.91
7.0.140.0000.07722.10
7.0.60.0030.06020.02
7.0.50.0030.07717.93
7.0.40.0200.07720.32
7.0.30.0470.04320.19
7.0.20.0300.04020.34
7.0.10.0230.03320.34
7.0.00.0030.07320.02
5.6.280.0030.07321.00
5.6.210.0000.09320.64
5.6.200.0070.08318.22
5.6.190.0200.07320.56
5.6.180.0170.04320.39
5.6.170.0270.07720.55
5.6.160.0030.05020.49
5.6.150.0100.03718.20
5.6.140.0000.08318.22
5.6.130.0100.07718.18
5.6.120.0100.03721.11
5.6.110.0200.06720.96
5.6.100.0100.08320.96
5.6.90.0070.05320.96
5.6.80.0170.06020.38
5.6.70.4500.03720.37
5.5.350.0330.07720.29
5.5.340.0030.08317.89
5.5.330.0100.03320.20
5.5.320.0030.07020.41
5.5.310.0170.08320.12
5.5.300.0070.08317.97
5.5.290.0000.08017.89
5.5.280.0000.06320.74
5.5.270.0030.04720.95
5.5.260.0100.07320.65
5.5.250.0030.06720.70
5.5.240.0030.05020.18
5.4.450.0230.03719.13
5.4.440.0200.05019.26
5.4.430.0170.08319.56
5.4.420.0200.08019.56
5.4.410.0170.03719.28
5.4.400.0170.05718.92
5.4.390.0200.04018.79
5.4.380.0200.03319.26
5.4.370.0230.04719.09
5.4.360.0270.04319.24
5.4.350.0270.04019.22
5.4.340.0230.05019.09
5.4.320.0200.04019.13
5.4.310.0270.06018.93
5.4.300.0230.07019.07
5.4.290.0200.05318.88
5.4.280.0230.04318.91
5.4.270.0230.04018.80
5.4.260.0330.05718.88
5.4.250.0170.08319.08
5.4.240.0230.05718.80
5.4.230.0230.07319.08
5.4.220.0200.05318.88
5.4.210.0130.05019.24
5.4.200.0170.04719.13
5.4.190.0230.07319.06
5.4.180.0370.03719.06
5.4.170.0200.07319.07
5.4.160.0300.03719.18
5.4.150.0230.06719.11
5.4.140.0170.04316.27
5.4.130.0200.06316.32
5.4.120.0200.04316.25
5.4.110.0130.07716.43
5.4.100.0200.03716.39
5.4.90.0200.05316.30
5.4.80.0170.04316.48
5.4.70.0200.07016.29
5.4.60.0200.03716.45
5.4.50.0230.06716.43
5.4.40.0230.07016.31
5.4.30.0200.03716.36
5.4.20.0270.06016.37
5.4.10.0170.07316.36
5.4.00.0170.04315.71
5.3.290.0230.05314.50
5.3.280.0200.03714.43
5.3.270.0100.04314.55
5.3.260.0130.04014.61
5.3.250.0230.03014.55
5.3.240.0170.03714.45
5.3.230.0230.03714.42
5.3.220.0200.03314.66
5.3.210.0230.03014.42
5.3.200.0130.04014.55
5.3.190.0200.03314.40
5.3.180.0230.03014.40
5.3.170.0170.03714.50
5.3.160.0170.03714.51
5.3.150.0130.04014.46
5.3.140.0230.04014.49
5.3.130.0170.03714.43
5.3.120.0170.04314.49
5.3.110.0200.05314.49
5.3.100.0230.03014.00
5.3.90.0130.04314.11
5.3.80.0130.04013.89
5.3.70.0170.03714.00
5.3.60.0100.03713.94
5.3.50.0270.03013.73
5.3.40.0130.04013.89
5.3.30.0200.03313.76
5.3.20.0130.04313.60
5.3.10.0130.03713.60
5.3.00.0200.03313.48
5.2.170.0200.03311.09
5.2.160.0230.02010.98
5.2.150.0100.03310.98
5.2.140.0170.03711.22
5.2.130.0130.03011.04
5.2.120.0100.03311.04
5.2.110.0170.03311.11
5.2.100.0130.03310.93
5.2.90.0130.03010.94
5.2.80.0070.03710.95
5.2.70.0130.03711.11
5.2.60.0200.02310.89
5.2.50.0200.03011.03
5.2.40.0100.03010.94
5.2.30.0000.03010.81
5.2.20.0030.03010.87
5.2.10.0100.02310.76
5.2.00.0200.02010.68
5.1.60.0130.0209.88
5.1.50.0100.03710.07
5.1.40.0100.0239.98
5.1.30.0170.02710.24
5.1.20.0170.02710.36
5.1.10.0170.02310.17
5.1.00.0170.0279.95
5.0.50.0070.0278.63
5.0.40.0030.0238.30
5.0.30.0070.0378.11
5.0.20.0030.0278.09
5.0.10.0070.0208.06
5.0.00.0030.0338.04
4.4.90.0070.0137.91
4.4.80.0030.0177.91
4.4.70.0030.0177.91
4.4.60.0030.0177.91
4.4.50.0070.0107.91
4.4.40.0070.0207.91
4.4.30.0030.0137.91
4.4.20.0000.0207.91
4.4.10.0000.0177.91
4.4.00.0000.0277.91
4.3.110.0000.0177.91
4.3.100.0070.0177.91
4.3.90.0430.0177.91
4.3.80.0500.0207.91
4.3.70.0530.0177.91
4.3.60.0500.0137.91
4.3.50.0600.0177.91
4.3.40.0530.0277.91
4.3.30.0270.0137.91
4.3.20.0200.0137.91
4.3.10.0300.0177.91
4.3.00.0400.0307.91

preferences:
42.91 ms | 401 KiB | 5 Q