3v4l.org

run code in 300+ PHP versions simultaneously
<html><head><style type="text/css">body{font-family:tahoma}</style></head><body><div class="doc"> <?php $base = "http://codex.wordpress.org"; $url = "http://codex.wordpress.org/New_To_WordPress_-_Where_to_Start"; $data = file_get_contents($url); # relink relative links to point to the same external site # $data = preg_replace("#(<a[^>]+href=[\"']?)(/[^/][^\s'\">]+[\"']?)([^>]*>)#", "\$1$base\$2 target='_blank'\$3", $data); # fetch images with relative path from the external site # $data = preg_replace("#(<\w+[^>]+src=[\"']?)(/[^/][^\s'\">]+[\"']?)([^>]*>)#", "\$1$base\$2 \$3", $data); # disable stylesheets (if needed) $data = preg_replace("#<link[^>]+rel=[\"']?stylesheet[^>]+>\s*(</link>)?#", "", $data); $data = preg_replace("#(<meta[^>]*google-site-verification[\w\W\r\n]*)<h2>(<span.*id=\"Step_Four[^>]+>)#", "<h1>$2", $data); $data = preg_replace("#(<h2><span[^>]+Advanced_Use_of_WordPress[\w\W\r\n]*script>)#", "", $data); echo $data; ?></div></body></html>

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.00418.80
8.3.50.0120.00318.05
8.3.40.0000.01419.07
8.3.30.0080.00819.47
8.3.20.0030.00520.68
8.3.10.0000.00823.89
8.3.00.0070.00317.75
8.2.180.0060.00917.00
8.2.170.0140.00022.96
8.2.160.0060.00820.64
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00422.53
8.2.110.0060.00320.60
8.2.100.0040.00818.22
8.2.90.0080.00019.34
8.2.80.0050.00317.97
8.2.70.0000.00817.63
8.2.60.0000.01018.18
8.2.50.0000.00818.07
8.2.40.0000.00818.33
8.2.30.0040.00418.11
8.2.20.0000.00817.75
8.2.10.0000.00718.17
8.2.00.0080.00317.86
8.1.270.0070.00324.13
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00324.11
8.1.230.0070.00419.28
8.1.220.0030.00517.79
8.1.210.0000.00918.77
8.1.200.0030.00617.35
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0030.00618.58
8.1.160.0080.00022.21
8.1.150.0040.00419.02
8.1.140.0040.00417.52
8.1.130.0000.00817.93
8.1.120.0040.00417.52
8.1.110.0000.00817.47
8.1.100.0000.00717.50
8.1.90.0040.00417.52
8.1.80.0040.00417.52
8.1.70.0030.00317.52
8.1.60.0040.00417.66
8.1.50.0000.00817.63
8.1.40.0060.00317.52
8.1.30.0090.00017.61
8.1.20.0000.00817.66
8.1.10.0080.00017.59
8.1.00.0040.00417.57
8.0.300.0000.00718.77
8.0.290.0070.00017.00
8.0.280.0000.00718.71
8.0.270.0000.00717.52
8.0.260.0000.00717.50
8.0.250.0000.00717.12
8.0.240.0030.00317.27
8.0.230.0020.00517.09
8.0.220.0030.00317.21
8.0.210.0070.00017.01
8.0.200.0040.00416.99
8.0.190.0040.00417.12
8.0.180.0000.00717.23
8.0.170.0000.00817.08
8.0.160.0070.00017.11
8.0.150.0070.00017.00
8.0.140.0000.00817.07
8.0.130.0000.00513.61
8.0.120.0000.00817.05
8.0.110.0000.00817.20
8.0.100.0050.00317.14
8.0.90.0000.00817.13
8.0.80.0060.01017.15
8.0.70.0040.00417.20
8.0.60.0040.00417.08
8.0.50.0050.00517.16
8.0.30.0100.00917.24
8.0.20.0180.00517.44
8.0.10.0050.00317.13
8.0.00.0140.00716.96
7.4.330.0020.00215.00
7.4.320.0030.00316.80
7.4.300.0060.00016.47
7.4.290.0030.00316.62
7.4.280.0060.00316.69
7.4.270.0040.00416.66
7.4.260.0030.00316.72
7.4.250.0080.00016.63
7.4.240.0010.00716.70
7.4.230.0000.00816.68
7.4.220.0080.01216.72
7.4.210.0140.00316.71
7.4.200.0080.00016.75
7.4.160.0160.00016.67
7.4.150.0110.00717.40
7.4.140.0170.00917.86
7.4.130.0090.00916.75
7.4.120.0120.00916.77
7.4.110.0090.01616.68
7.4.100.0110.00716.83
7.4.90.0120.00616.63
7.4.80.0160.00319.39
7.4.70.0060.01416.63
7.4.60.0130.00316.55
7.4.50.0050.00316.75
7.4.40.0110.01116.70
7.4.30.0000.01716.71
7.4.00.0040.00915.29
7.3.330.0000.00513.41
7.3.320.0000.00713.47
7.3.310.0000.00716.39
7.3.300.0000.00716.50
7.3.290.0090.00616.48
7.3.280.0080.00816.52
7.3.270.0090.01617.40
7.3.260.0060.01116.70
7.3.250.0130.00516.59
7.3.240.0070.01816.68
7.3.230.0210.00016.59
7.3.210.0120.00916.45
7.3.200.0150.00719.39
7.3.190.0170.00616.40
7.3.180.0120.00616.46
7.3.170.0090.00816.64
7.3.160.0080.00816.29
7.3.120.0090.00915.02
7.3.110.0040.01614.89
7.3.100.0030.01014.95
7.3.90.0070.00815.12
7.3.80.0050.00815.10
7.3.70.0030.00614.81
7.3.60.0050.00815.00
7.3.50.0090.00314.79
7.3.40.0050.00814.99
7.3.30.0050.00814.71
7.3.20.0080.01016.83
7.3.10.0040.00916.71
7.3.00.0040.00916.75
7.2.330.0090.01216.89
7.2.320.0100.00717.02
7.2.310.0140.00316.74
7.2.300.0080.00816.86
7.2.290.0160.01016.95
7.2.250.0090.00915.01
7.2.240.0080.01314.93
7.2.230.0100.00915.31
7.2.220.0070.00715.22
7.2.210.0030.01215.11
7.2.200.0070.00715.13
7.2.190.0080.00815.29
7.2.180.0100.00715.16
7.2.170.0050.01115.34
7.2.60.0030.01017.15
7.2.00.0040.00719.43
7.1.330.0090.00516.03
7.1.320.0050.00715.88
7.1.310.0030.00615.93
7.1.300.0070.00315.87
7.1.290.0020.01315.83
7.1.280.0060.00815.84
7.1.270.0090.00816.12
7.1.260.0060.01116.01
7.1.200.0030.01015.79
7.1.100.0960.00316.48
7.1.70.0000.00917.34
7.1.60.0070.01719.32
7.1.50.0220.01434.76
7.1.00.0000.08022.80
7.0.200.0030.00616.93
7.0.140.0100.06722.31
7.0.60.0100.06720.30
7.0.50.0100.07718.13
7.0.40.0100.08320.59
7.0.30.0430.07720.52
7.0.20.0170.05720.59
7.0.10.0130.06020.50
7.0.00.0070.04320.48
5.6.280.0000.07721.44
5.6.210.0200.06021.04
5.6.200.0200.07718.44
5.6.190.0200.06021.09
5.6.180.0230.04021.09
5.6.170.0370.06020.83
5.6.160.0070.08320.84
5.6.150.0170.06318.57
5.6.140.0000.06718.57
5.6.130.0100.03718.54
5.6.120.0070.08021.25
5.6.110.0130.08321.54
5.6.100.0100.08321.24
5.6.90.0130.05021.31
5.6.80.0030.03720.88
5.6.70.4570.04020.70
5.5.350.0000.03720.66
5.5.340.0030.07318.37
5.5.330.0070.04020.87
5.5.320.0130.05020.62
5.5.310.0200.06020.61
5.5.300.0100.08018.32
5.5.290.0070.04718.45
5.5.280.0030.05321.25
5.5.270.0100.07721.28
5.5.260.0070.03721.07
5.5.250.0100.07320.86
5.5.240.0270.07320.78
5.4.450.0230.05719.77
5.4.440.0130.06719.68
5.4.430.0130.06719.68
5.4.420.0770.00019.75
5.4.410.0630.00019.56
5.4.400.0630.00019.42
5.4.390.0630.00019.38
5.4.380.0630.00019.36
5.4.370.0630.00019.31
5.4.360.0770.00019.34
5.4.350.0670.00019.38
5.4.340.0100.03412.18
5.4.320.0080.04012.68
5.4.310.0080.05212.68
5.4.300.0060.03712.68
5.4.290.0060.03812.67
5.4.280.0060.04012.57
5.4.270.0040.03912.57
5.4.260.0080.03812.57
5.4.250.0070.03712.57
5.4.240.0060.04112.57
5.4.230.0050.03712.56
5.4.220.0090.04112.57
5.4.210.0080.03412.57
5.4.200.0090.03512.56
5.4.190.0050.03612.56
5.4.180.0050.03612.56
5.4.170.0070.03412.57
5.4.160.0060.04412.57
5.4.150.0070.03512.56
5.4.140.0060.03812.25
5.4.130.0050.03612.23
5.4.120.0030.03712.19
5.4.110.0040.03612.19
5.4.100.0050.03612.19
5.4.90.0070.03612.18
5.4.80.0090.03912.18
5.4.70.0050.03512.18
5.4.60.0070.03312.18
5.4.50.0070.03312.18
5.4.40.0080.03612.17
5.4.30.0080.03412.17
5.4.20.0080.03312.16
5.4.10.0080.03312.17
5.4.00.0050.03911.66
5.3.290.0070.04412.89
5.3.280.0120.03412.81
5.3.270.0060.03912.83
5.3.260.0050.04012.82
5.3.250.0050.03912.82
5.3.240.0070.03712.82
5.3.230.0070.03612.82
5.3.220.0060.03612.79
5.3.210.0100.04112.79
5.3.200.0050.03912.78
5.3.190.0070.03712.79
5.3.180.0100.05012.78
5.3.170.0040.04312.79
5.3.160.0050.03812.79
5.3.150.0050.04312.79
5.3.140.0060.04012.77
5.3.130.0060.03912.77
5.3.120.0060.04412.76
5.3.110.0070.03712.77
5.3.100.0100.03212.25
5.3.90.0040.03812.24
5.3.80.0090.03512.23
5.3.70.0090.04412.23
5.3.60.0060.04312.22
5.3.50.0050.04112.16
5.3.40.0060.03912.16
5.3.30.0080.04612.13
5.3.20.0060.04911.91
5.3.10.0090.04111.87
5.3.00.0060.04111.86
5.2.170.0070.0419.36
5.2.160.0070.0369.36
5.2.150.0050.0329.36
5.2.140.0060.0359.35
5.2.130.0030.0329.31
5.2.120.0030.0349.32
5.2.110.0060.0349.32
5.2.100.0030.0389.32
5.2.90.0070.0339.32
5.2.80.0050.0319.32
5.2.70.0070.0299.31
5.2.60.0060.0299.27
5.2.50.0060.0309.23
5.2.40.0040.0309.20
5.2.30.0030.0329.18
5.2.20.0060.0299.17
5.2.10.0060.0289.07
5.2.00.0030.0308.93
5.1.60.0030.0298.21
5.1.50.0050.0248.21
5.1.40.0030.0268.20
5.1.30.0040.0288.54
5.1.20.0040.0278.56
5.1.10.0050.0268.29
5.1.00.0050.0278.29
5.0.50.0040.0236.77
5.0.40.0050.0196.63
5.0.30.0020.0346.44
5.0.20.0030.0206.39
5.0.10.0040.0236.37
5.0.00.0060.0296.36
4.4.90.0030.0154.78
4.4.80.0010.0174.76
4.4.70.0030.0184.76
4.4.60.0040.0144.75
4.4.50.0030.0154.77
4.4.40.0020.0354.75
4.4.30.0030.0174.76
4.4.20.0020.0194.85
4.4.10.0030.0224.85
4.4.00.0050.0254.79
4.3.110.0060.0164.70
4.3.100.0050.0194.69
4.3.90.0050.0204.65
4.3.80.0040.0304.65
4.3.70.0020.0204.64
4.3.60.0050.0174.64
4.3.50.0040.0184.64
4.3.40.0040.0274.62
4.3.30.0020.0203.42
4.3.20.0010.0173.40
4.3.10.0020.0163.36
4.3.00.0030.0237.14

preferences:
51.53 ms | 400 KiB | 5 Q