3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = file_get_contents('http://www.delfi.lt/'); //var_dump($file); $obj = new DOMDocument('UTF-8'); $obj->loadHTML($file); var_dump($obj);

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.4.20.0140.00717.94
8.4.10.0090.00017.90
8.3.150.0140.00420.79
8.3.140.0040.00417.15
8.3.130.0030.01617.11
8.3.120.0060.00320.62
8.3.110.0000.01520.94
8.3.100.0000.00824.06
8.3.90.0080.00026.77
8.3.80.0030.00617.97
8.3.70.0100.01016.88
8.3.60.0120.00917.00
8.3.50.0180.00221.12
8.3.40.0000.01618.89
8.3.30.0180.00319.04
8.3.20.0070.00020.57
8.3.10.0080.00023.86
8.3.00.0040.00422.77
8.2.270.0060.00917.68
8.2.260.0040.01116.70
8.2.250.0030.00616.82
8.2.240.0050.00317.38
8.2.230.0050.00322.58
8.2.220.0160.00037.54
8.2.210.0070.00326.77
8.2.200.0060.00317.13
8.2.190.0120.00318.76
8.2.180.0150.00618.66
8.2.170.0030.01422.96
8.2.160.0070.00722.38
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0090.00017.75
8.2.110.0030.00620.78
8.2.100.0040.00817.75
8.2.90.0080.00019.30
8.2.80.0040.00417.97
8.2.70.0000.00817.75
8.2.60.0060.00318.16
8.2.50.0050.00518.07
8.2.40.0050.00321.16
8.2.30.0040.00420.08
8.2.20.0080.00017.86
8.2.10.0050.00218.09
8.2.00.0050.00318.17
8.1.310.0150.00416.66
8.1.300.0000.00818.96
8.1.290.0030.00630.84
8.1.280.0150.00325.92
8.1.270.0040.00420.50
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.01020.93
8.1.230.0070.00317.89
8.1.220.0000.00817.78
8.1.210.0030.00618.77
8.1.200.0100.00017.48
8.1.190.0050.00317.38
8.1.180.0040.00418.10
8.1.170.0000.00818.77
8.1.160.0000.00722.13
8.1.150.0040.00419.03
8.1.140.0000.00717.57
8.1.130.0040.00417.71
8.1.120.0040.00417.57
8.1.110.0000.00717.40
8.1.100.0030.00517.59
8.1.90.0070.00017.40
8.1.80.0040.00417.63
8.1.70.0000.00817.45
8.1.60.0040.00417.74
8.1.50.0000.00817.62
8.1.40.0040.00417.68
8.1.30.0000.00817.76
8.1.20.0000.00717.92
8.1.10.0040.00417.63
8.1.00.0030.00717.57
8.0.300.0060.00318.77
8.0.290.0030.00617.00
8.0.280.0030.00518.64
8.0.270.0040.00417.01
8.0.260.0030.00317.51
8.0.250.0000.00717.11
8.0.240.0030.00317.20
8.0.230.0070.00017.16
8.0.220.0070.00017.04
8.0.210.0000.00817.10
8.0.200.0050.00217.18
8.0.190.0030.00517.12
8.0.180.0080.00017.05
8.0.170.0040.00417.00
8.0.160.0040.00417.21
8.0.150.0030.00416.97
8.0.140.0040.00417.13
8.0.130.0030.00313.63
8.0.120.0040.00417.22
8.0.110.0080.00017.09
8.0.100.0040.00417.09
8.0.90.0070.00017.07
8.0.80.0130.00317.29
8.0.70.0050.00317.05
8.0.60.0080.00017.21
8.0.50.0050.00217.04
8.0.30.0090.01017.32
8.0.20.0110.00917.40
8.0.10.0060.00317.19
8.0.00.0090.01017.01
7.4.330.0030.00215.35
7.4.320.0040.00416.75
7.4.300.0000.00816.65
7.4.290.0030.00616.62
7.4.280.0040.00416.77
7.4.270.0030.00316.58
7.4.260.0030.00316.54
7.4.250.0000.00816.62
7.4.240.0030.00616.67
7.4.230.0040.00416.88
7.4.220.0030.01716.71
7.4.210.0170.00716.62
7.4.200.0040.00416.88
7.4.160.0110.00916.71
7.4.150.0190.00317.40
7.4.140.0110.01517.86
7.4.130.0150.00916.60
7.4.120.0100.01016.72
7.4.110.0070.01516.59
7.4.100.0200.00316.53
7.4.90.0100.01016.64
7.4.80.0120.00819.39
7.4.70.0070.01816.80
7.4.60.0090.00916.81
7.4.50.0030.00316.36
7.4.40.0110.00716.93
7.4.30.0090.01116.65
7.4.00.0120.00614.80
7.3.330.0030.00313.32
7.3.320.0030.00313.50
7.3.310.0060.00316.48
7.3.300.0030.00516.58
7.3.290.0060.01016.49
7.3.280.0170.00616.51
7.3.270.0120.00617.40
7.3.260.0140.01416.88
7.3.250.0130.00816.51
7.3.240.0090.01216.46
7.3.230.0090.01816.39
7.3.210.0070.01316.53
7.3.200.0070.01316.55
7.3.190.0100.00816.58
7.3.180.0090.00916.34
7.3.170.0130.00616.42
7.3.160.0120.01216.42
7.3.10.0100.00616.64
7.3.00.0040.00716.90
7.2.330.0070.01316.51
7.2.320.0090.00916.88
7.2.310.0150.00516.55
7.2.300.0130.01016.80
7.2.290.0090.01516.60
7.2.130.0080.00816.77
7.2.120.0070.00716.99
7.2.110.0060.00617.04
7.2.100.0060.00616.86
7.2.90.0110.00316.96
7.2.80.0060.00916.83
7.2.70.0060.00617.23
7.2.60.0090.00716.85
7.2.50.0120.00016.70
7.2.40.0060.00316.84
7.2.30.0040.01217.13
7.2.20.0060.00816.84
7.2.10.0090.00616.93
7.2.00.0050.00718.27
7.1.250.0060.00315.72
7.1.200.0030.01015.99
7.1.100.0060.01318.43
7.1.70.0050.00317.42
7.1.60.0170.01019.18
7.1.50.0160.01016.93
7.1.00.0030.07722.67
7.0.200.0060.00316.82
7.0.60.0170.07320.14
7.0.50.0070.08018.17
7.0.40.0100.09020.56
7.0.30.0200.04720.52
7.0.20.0170.04320.46
7.0.10.0070.09020.48
7.0.00.0130.07720.51
5.6.280.0100.06321.38
5.6.210.0130.07721.18
5.6.200.0100.07318.44
5.6.190.0100.08321.04
5.6.180.0300.07021.07
5.6.170.0270.08020.95
5.6.160.0170.07020.98
5.6.150.0200.06718.57
5.6.140.0130.04718.51
5.6.130.0100.04018.48
5.6.120.0070.08721.34
5.6.110.0070.09021.50
5.6.100.0070.09021.50
5.6.90.0170.06021.40
5.6.80.0130.07320.92
5.6.70.4630.03020.87
5.5.350.0130.03020.78
5.5.340.0070.03718.27
5.5.330.0170.04320.87
5.5.320.0230.06720.66
5.5.310.0300.08320.68
5.5.300.0100.08018.20
5.5.290.0030.04718.37
5.5.280.0030.08021.09
5.5.270.0100.08321.24
5.5.260.0100.08321.34
5.5.250.0100.08321.16
5.5.240.0230.04020.56
5.4.450.0830.05719.84
5.4.440.0930.06019.74
5.4.430.0730.05019.63
5.4.420.0800.07019.68
5.4.410.0670.05319.55
5.4.400.0370.05019.43
5.4.390.0870.06719.36
5.4.380.0730.06019.47
5.4.370.0530.05319.44
5.4.360.0530.06019.29
5.4.350.0700.05319.29
5.4.340.0700.05319.42
5.4.320.0130.05019.44
5.4.310.0730.06019.30
5.4.300.0570.05719.46
5.4.290.0530.06019.54
5.4.280.0800.07719.27
5.4.270.0770.05719.32
5.4.260.0900.06319.35
5.4.250.0700.05719.52
5.4.240.0970.05319.48
5.4.230.0970.05719.36
5.4.220.0730.06019.38
5.4.210.0100.06719.30
5.4.200.0830.04317.15
5.4.190.0730.04719.36
5.4.180.0900.05719.24
5.4.170.0730.06019.29
5.4.160.0700.06019.14
5.4.150.0730.05319.29
5.4.140.0870.05316.73
5.4.130.0900.04316.87
5.4.120.0770.07316.61
5.4.110.0930.04316.73
5.4.100.0700.05716.62
5.4.90.0730.05316.75
5.4.80.0700.05316.80
5.4.70.0770.05316.73
5.4.60.0770.04716.68
5.4.50.0770.04316.74
5.4.40.0830.05716.70
5.4.30.0870.05016.71
5.4.20.0300.06316.68
5.4.10.0830.05716.71
5.4.00.1000.05016.16
5.3.290.1100.04714.69
5.3.280.0970.05014.64
5.3.270.0770.06714.87
5.3.260.0770.05714.66
5.3.250.0670.05314.75
5.3.240.0700.06014.57
5.3.230.0770.06714.63
5.3.220.0730.05014.52
5.3.210.0870.07014.52
5.3.200.0770.04014.75
5.3.190.0670.05714.76
5.3.180.0800.05014.70
5.3.170.0770.05314.72
5.3.160.0470.08014.73
5.3.150.0770.05714.54
5.3.140.0770.06314.58
5.3.130.0630.06314.50
5.3.120.1100.06014.58
5.3.110.1000.06014.81
5.3.100.0930.04714.13
5.3.90.1130.05714.19
5.3.80.1100.04714.03
5.3.70.0330.06314.09
5.3.60.0670.05314.05
5.3.50.0700.06013.98
5.3.40.0430.04714.13
5.3.30.1030.04313.87
5.3.20.1270.05013.89
5.3.10.0570.05313.84
5.3.00.0630.05013.82
5.2.170.0630.04311.09
5.2.160.0570.04711.33
5.2.150.0600.05011.09
5.2.140.0700.04711.23
5.2.130.0730.04011.27
5.2.120.0730.05011.05
5.2.110.0730.05011.04
5.2.100.0630.04711.14
5.2.90.0770.04011.12
5.2.80.0770.06011.19
5.2.70.0630.05011.11
5.2.60.0500.04011.19
5.2.50.0770.04311.11
5.2.40.0470.04711.14
5.2.30.0530.04711.09
5.2.20.0470.04311.02
5.2.10.0470.05011.04
5.2.00.0500.06010.71
5.1.60.0400.04010.09
5.1.50.0700.0379.91
5.1.40.0430.0379.89
5.1.30.0530.04310.51
5.1.20.0530.05710.62
5.1.10.0430.03310.20
5.1.00.0700.05310.32
5.0.50.0270.0338.71
5.0.40.0030.0308.40
5.0.30.0230.0478.31
5.0.20.0300.0238.31
5.0.10.0130.0408.31
5.0.00.0370.0378.31
4.4.90.0300.0237.35
4.4.80.0230.0208.31
4.4.70.0430.0178.31
4.4.60.0370.0238.31
4.4.50.0370.0208.31
4.4.40.0300.0378.31
4.4.30.0200.0208.31
4.4.20.0300.0208.31
4.4.10.0270.0208.31
4.4.00.0300.0408.31
4.3.110.0200.0378.31
4.3.100.0200.0308.31
4.3.90.0230.0338.31
4.3.80.0270.0278.31
4.3.70.0230.0208.31
4.3.60.0230.0238.31
4.3.50.0100.0378.30
4.3.40.0170.0438.30
4.3.30.0000.0238.30
4.3.20.0030.0238.30
4.3.10.0070.0338.30
4.3.00.0100.0238.30

preferences:
28.5 ms | 403 KiB | 5 Q