3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = file_get_contents('http://rtfm.openlife.co/'); $dom = new DOMDocument(); @$dom->loadHTML($html); $titles = $dom->getElementsByTagName('title'); $title = $titles->item(0)->nodeValue; var_dump($title);

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.64
8.3.50.0130.01016.60
8.3.40.0120.00319.11
8.3.30.0110.00719.21
8.3.20.0040.00420.75
8.3.10.0090.00024.02
8.3.00.0040.00422.65
8.2.180.0070.01516.75
8.2.170.0040.01122.96
8.2.160.0090.00620.64
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00417.75
8.2.110.0060.00321.19
8.2.100.0120.00017.88
8.2.90.0040.00419.42
8.2.80.0080.00017.97
8.2.70.0090.00018.00
8.2.60.0030.00618.18
8.2.50.0040.00418.07
8.2.40.0050.00321.43
8.2.30.0030.00618.32
8.2.20.0000.00817.96
8.2.10.0000.00818.26
8.2.00.0030.00518.31
8.1.280.0070.01125.92
8.1.270.0000.00820.50
8.1.260.0070.00326.35
8.1.250.0050.00328.09
8.1.240.0060.00324.02
8.1.230.0000.01217.48
8.1.220.0000.00817.91
8.1.210.0000.00818.77
8.1.200.0060.00317.59
8.1.190.0060.00317.36
8.1.180.0000.00818.10
8.1.170.0040.00418.71
8.1.160.0040.00422.32
8.1.150.0000.00919.02
8.1.140.0040.00417.54
8.1.130.0070.00017.88
8.1.120.0000.00717.70
8.1.110.0040.00417.70
8.1.100.0000.00717.61
8.1.90.0030.00617.56
8.1.80.0060.00317.69
8.1.70.0000.00717.57
8.1.60.0040.00417.76
8.1.50.0030.00617.76
8.1.40.0000.00817.65
8.1.30.0060.00317.78
8.1.20.0040.00417.81
8.1.10.0000.00817.82
8.1.00.0000.00817.64
8.0.300.0030.00518.77
8.0.290.0000.00717.13
8.0.280.0050.00318.70
8.0.270.0040.00417.58
8.0.260.0000.00717.48
8.0.250.0000.00817.21
8.0.240.0040.00417.22
8.0.230.0040.00417.13
8.0.220.0000.00717.10
8.0.210.0030.00517.21
8.0.200.0060.00017.22
8.0.190.0040.00417.09
8.0.180.0040.00417.20
8.0.170.0050.00317.14
8.0.160.0000.00717.16
8.0.150.0080.00017.08
8.0.140.0000.00717.13
8.0.130.0000.00613.75
8.0.120.0040.00417.19
8.0.110.0030.00517.32
8.0.100.0060.00317.12
8.0.90.0030.00517.32
8.0.80.0070.01017.21
8.0.70.0040.00417.30
8.0.60.0060.00317.27
8.0.50.0030.00517.18
8.0.30.0070.01217.38
8.0.20.0170.00417.40
8.0.10.0000.00817.36
8.0.00.0070.01117.07
7.4.330.0050.00015.29
7.4.320.0060.00016.67
7.4.300.0030.00316.81
7.4.290.0070.00016.70
7.4.280.0040.00416.72
7.4.270.0030.00316.62
7.4.260.0030.00316.71
7.4.250.0000.00816.59
7.4.240.0040.00316.76
7.4.230.0080.00016.70
7.4.220.0030.01616.76
7.4.210.0030.01616.79
7.4.200.0040.00416.83
7.4.160.0090.01316.93
7.4.150.0160.01617.40
7.4.140.0160.01017.86
7.4.130.0110.00816.72
7.4.120.0090.00916.68
7.4.110.0180.00016.66
7.4.100.0190.00616.71
7.4.90.0060.01516.88
7.4.80.0120.00619.39
7.4.70.0080.00916.81
7.4.60.0160.00016.67
7.4.50.0000.00916.65
7.4.40.0110.00716.85
7.4.30.0150.01016.75
7.4.00.0110.00515.14
7.3.330.0000.00513.50
7.3.320.0000.00613.35
7.3.310.0070.00016.54
7.3.300.0050.00316.47
7.3.290.0090.00816.49
7.3.280.0130.00616.51
7.3.270.0060.01217.40
7.3.260.0160.00716.62
7.3.250.0090.01016.54
7.3.240.0170.00716.59
7.3.230.0110.01516.66
7.3.210.0060.01016.50
7.3.200.0130.00619.39
7.3.190.0100.00716.54
7.3.180.0130.01016.44
7.3.170.0100.01116.48
7.3.160.0150.00316.64
7.3.120.0100.01015.08
7.3.110.0120.00615.06
7.3.100.0070.00714.75
7.3.90.0070.00715.00
7.3.80.0090.00615.13
7.3.70.0000.01314.99
7.3.60.0030.00914.90
7.3.50.0000.01514.99
7.3.40.0030.00815.05
7.3.30.0100.00614.83
7.3.20.0030.00716.86
7.3.10.0030.00916.82
7.3.00.0080.00416.44
7.2.330.0140.00316.95
7.2.320.0070.01616.94
7.2.310.0090.00916.79
7.2.300.0090.00916.65
7.2.290.0040.01216.87
7.2.250.0030.01714.89
7.2.240.0140.00015.13
7.2.230.0060.01015.05
7.2.220.0110.00615.36
7.2.210.0060.00915.50
7.2.200.0060.00715.37
7.2.190.0040.01515.29
7.2.180.0000.01314.78
7.2.170.0080.00815.27
7.2.60.0110.00416.71
7.2.00.0100.00019.51
7.1.330.0030.01315.80
7.1.320.0030.01015.77
7.1.310.0130.00315.84
7.1.300.0050.00515.88
7.1.290.0050.00515.91
7.1.280.0060.01215.96
7.1.270.0000.01115.98
7.1.260.0000.01116.20
7.1.200.0030.00915.69
7.1.100.0030.01318.63
7.1.70.0040.00417.31
7.1.60.0100.01720.03
7.1.50.0170.02135.27
7.1.00.0070.07322.71
7.0.200.0240.00315.14
7.0.60.0100.03720.15
7.0.50.0070.07718.27
7.0.40.0100.03720.48
7.0.30.0670.06720.50
7.0.20.0270.05320.59
7.0.10.0230.08720.54
7.0.00.0070.04320.49
5.6.210.0070.07321.11
5.6.200.0100.08718.73
5.6.190.0100.05021.03
5.6.180.0300.06720.93
5.6.170.0270.03320.81
5.6.160.0100.08020.86
5.6.150.0030.05718.48
5.6.140.0170.03718.60
5.6.130.0130.06318.65
5.6.120.0130.05321.26
5.6.110.0200.07721.38
5.6.100.0070.08321.50
5.6.90.0100.04321.36
5.6.80.0070.08320.90
5.6.70.4400.04020.63
5.5.350.0130.03320.80
5.5.340.0130.05718.38
5.5.330.0100.07720.86
5.5.320.0200.04720.60
5.5.310.0200.03720.65
5.5.300.0070.06718.38
5.5.290.0030.04018.37
5.5.280.0070.08721.04
5.5.270.0100.08721.37
5.5.260.0070.08721.24
5.5.250.0130.06320.82
5.5.240.0070.07720.67
5.4.450.0670.07019.55
5.4.440.0700.06319.55
5.4.430.1000.07719.82
5.4.420.0800.05719.84
5.4.410.0900.07019.50
5.4.400.0900.05719.32
5.4.390.0800.05019.32
5.4.380.0800.06719.31
5.4.370.0870.07019.31
5.4.360.0530.05319.42
5.4.350.0230.06719.36
5.4.340.0830.07319.33
5.4.320.0170.05019.35
5.4.310.0430.05319.54
5.4.300.0800.07319.35
5.4.290.0730.06019.27
5.4.280.0130.05719.19
5.4.270.0370.07719.51
5.4.260.0870.07019.27
5.4.250.0900.06019.51
5.4.240.0200.06719.30
5.4.230.0470.08019.41
5.4.220.0970.05319.50
5.4.210.0830.06319.40
5.4.200.0730.07317.24
5.4.190.0830.06019.26
5.4.180.0200.06019.27
5.4.170.0870.08019.25
5.4.160.0730.05719.48
5.4.150.0930.04019.47
5.4.140.0770.07316.72
5.4.130.0930.07716.68
5.4.120.0800.05016.76
5.4.110.0700.04716.90
5.4.100.0370.06016.63
5.4.90.0400.05716.92
5.4.80.0570.05716.69
5.4.70.0630.05016.61
5.4.60.0070.07017.09
5.4.50.0070.07017.01
5.4.40.0030.03317.09
5.4.30.0400.05717.07
5.4.20.0370.05317.02

preferences:
51.81 ms | 400 KiB | 5 Q