3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dom = new SimpleXMLElement('<?xml version="1.0"?> <!DOCTYPE results [ <!ENTITY harmless "php://filter/read=convert.base64-encode/resource=/var/www/index.php" > ]> <results> <result>I am &harmless; - honest!</result> </results>'); var_dump($dom);

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.0140.00418.55
8.3.50.0130.00722.17
8.3.40.0140.00718.84
8.3.30.0110.00620.42
8.3.20.0080.00020.16
8.3.10.0040.00422.22
8.3.00.0040.00422.55
8.2.180.0060.00916.88
8.2.170.0090.01222.96
8.2.160.0070.00722.38
8.2.150.0050.00324.18
8.2.140.0000.00924.66
8.2.130.0040.01426.16
8.2.120.0090.00019.77
8.2.110.0030.00619.38
8.2.100.0060.00617.97
8.2.90.0090.00018.16
8.2.80.0040.00417.97
8.2.70.0040.00717.75
8.2.60.0040.00418.05
8.2.50.0000.00918.07
8.2.40.0050.00318.30
8.2.30.0080.00018.22
8.2.20.0040.00417.64
8.2.10.0080.00017.89
8.2.00.0050.00517.89
8.1.280.0140.00325.92
8.1.270.0050.00324.66
8.1.260.0020.00526.35
8.1.250.0040.00428.09
8.1.240.0070.00322.46
8.1.230.0040.00821.22
8.1.220.0050.00317.79
8.1.210.0040.00419.02
8.1.200.0060.00317.47
8.1.190.0030.00617.41
8.1.180.0000.00819.13
8.1.170.0060.00318.74
8.1.160.0040.00422.31
8.1.150.0070.00018.80
8.1.140.0000.00717.54
8.1.130.0000.00718.00
8.1.120.0000.00717.55
8.1.110.0000.00717.53
8.1.100.0040.00317.58
8.1.90.0050.00217.56
8.1.80.0000.00717.64
8.1.70.0000.00717.55
8.1.60.0040.00417.62
8.1.50.0030.00617.66
8.1.40.0050.00217.55
8.1.30.0030.00617.70
8.1.20.0040.00417.72
8.1.10.0040.00417.77
8.1.00.0040.00417.68
8.0.300.0080.00020.07
8.0.290.0030.00317.30
8.0.280.0000.00718.43
8.0.270.0030.00317.25
8.0.260.0000.00816.91
8.0.250.0030.00517.14
8.0.240.0000.00817.04
8.0.230.0030.00417.00
8.0.220.0050.00217.07
8.0.210.0000.00816.95
8.0.200.0040.00417.09
8.0.190.0000.00917.07
8.0.180.0040.00416.97
8.0.170.0040.00416.98
8.0.160.0040.00416.96
8.0.150.0030.00316.98
8.0.140.0000.00916.95
8.0.130.0000.00613.46
8.0.120.0040.00417.00
8.0.110.0000.00716.90
8.0.100.0000.00716.87
8.0.90.0070.00016.98
8.0.80.0060.00916.97
8.0.70.0000.00716.88
8.0.60.0000.00717.07
8.0.50.0000.00716.91
8.0.30.0110.01117.15
8.0.20.0090.00917.40
8.0.10.0050.00216.98
8.0.00.0120.00616.76
7.4.330.0030.00315.00
7.4.320.0030.00316.66
7.4.300.0000.00616.57
7.4.290.0000.00716.63
7.4.280.0000.00816.50
7.4.270.0030.00316.74
7.4.260.0000.00816.61
7.4.250.0080.00016.60
7.4.240.0030.00516.68
7.4.230.0030.00316.45
7.4.220.0160.00616.74
7.4.210.0050.01016.72
7.4.200.0000.00716.68
7.4.190.0040.00416.57
7.4.160.0080.01116.53
7.4.150.0040.01417.40
7.4.140.0060.01317.86
7.4.130.0120.00616.67
7.4.120.0060.01016.68
7.4.110.0090.00816.76
7.4.100.0070.01416.59
7.4.90.0120.01216.57
7.4.80.0110.00719.39
7.4.70.0070.01016.67
7.4.60.0060.01216.15
7.4.50.0000.00816.69
7.4.40.0060.00622.77
7.4.30.0150.00316.63
7.4.00.0090.00615.25
7.3.330.0000.00613.16
7.3.320.0060.00013.27
7.3.310.0070.00016.45
7.3.300.0000.00716.38
7.3.290.0070.00716.32
7.3.280.0080.00916.35
7.3.270.0070.01017.40
7.3.260.0160.00816.26
7.3.250.0090.00916.48
7.3.240.0030.01316.47
7.3.230.0090.00916.73
7.3.210.0140.00816.43
7.3.200.0160.00719.39
7.3.190.0040.01816.38
7.3.180.0040.01116.34
7.3.170.0030.01216.73
7.3.160.0100.00716.44
7.3.120.0080.00614.63
7.3.10.0080.00716.57
7.3.00.0070.00716.58
7.2.330.0030.01516.55
7.2.320.0070.01716.38
7.2.310.0060.01216.87
7.2.300.0060.01116.57
7.2.290.0040.01416.78
7.2.130.0060.00616.66
7.2.120.0040.01116.95
7.2.110.0030.00716.65
7.2.100.0140.00316.85
7.2.90.0040.01116.92
7.2.80.0000.01016.83
7.2.70.0120.00316.73
7.2.60.0020.01217.03
7.2.50.0030.01216.98
7.2.40.0070.01016.98
7.2.30.0040.01116.75
7.2.20.0060.00616.76
7.2.10.0080.00617.02
7.2.00.0100.00718.20
7.1.250.0040.00715.77
7.1.200.0040.00815.58
7.1.100.0040.00417.81
7.1.70.0090.00017.19
7.1.60.0160.00919.43
7.1.50.0110.00017.08
7.1.00.0030.03322.57
7.0.200.0000.00816.77
7.0.140.0130.06722.20
7.0.60.0100.07720.00
7.0.50.0030.04317.84
7.0.40.0070.08720.49
7.0.30.0570.06320.13
7.0.20.0270.07020.33
7.0.10.0130.06320.27
7.0.00.0170.06320.41
5.6.280.0030.09021.16
5.6.210.0170.07020.75
5.6.200.0100.08318.28
5.6.190.0070.07320.82
5.6.180.0530.05320.79
5.6.170.0170.04320.71
5.6.160.0100.07320.52
5.6.150.0000.05018.28
5.6.140.0130.07018.26
5.6.130.0200.05018.29
5.6.120.0170.07721.05
5.6.110.0100.08021.21
5.6.100.0070.06721.04
5.6.90.0030.05021.00
5.6.80.0100.07320.58
5.5.350.4300.04320.55
5.5.340.0100.08018.12
5.5.330.0000.05320.59
5.5.320.0200.04720.31
5.5.310.0170.04020.38
5.5.300.0100.08018.06
5.5.290.0100.08018.18
5.5.280.0200.06720.85
5.5.270.0070.06720.91
5.5.260.0130.07320.98
5.5.250.0070.08020.91
5.5.240.0070.07720.32
5.4.450.0570.05319.57
5.4.440.1030.05719.68
5.4.430.0870.05019.54
5.4.420.0670.04719.67
5.4.410.0600.05719.38
5.4.400.0670.06019.06
5.4.390.0730.06719.18
5.4.380.0170.06018.74
5.4.370.0100.04718.54
5.4.360.0130.05318.73
5.4.350.0040.04012.18
5.4.340.0150.06912.17
5.4.320.0060.04212.66
5.4.310.0050.03712.66
5.4.300.0050.03812.66
5.4.290.0030.04912.66
5.4.280.0090.04612.56
5.4.270.0060.03512.56
5.4.260.0060.03712.56
5.4.250.0000.05718.80
5.4.240.0070.05018.92
5.4.230.0130.04318.80
5.4.220.0130.05019.09
5.4.210.0130.05019.14
5.4.200.0130.04318.82
5.4.190.0100.04718.96
5.4.180.0070.05018.96
5.4.170.0100.05018.89
5.4.160.0070.05019.11
5.4.150.0070.05718.77
5.4.140.0030.05316.76
5.4.130.0100.04316.59
5.4.120.0000.07316.38
5.4.110.0100.05016.69
5.4.100.0030.05016.65
5.4.90.0200.03316.60
5.4.80.0100.04316.55
5.4.70.0000.05316.70
5.4.60.0070.06316.40
5.4.50.0100.05716.54
5.4.40.0130.04316.63
5.4.30.0170.04016.36
5.4.20.0070.05016.59
5.4.10.0030.07016.37
5.4.00.0130.04315.81
5.3.290.0050.04312.93
5.3.280.0070.05014.69
5.3.270.0030.06014.70
5.3.260.0100.04714.57
5.3.250.0070.05014.46
5.3.240.0100.04714.70
5.3.230.0100.04714.70
5.3.220.0130.04314.59
5.3.210.0070.08014.59
5.3.200.0100.04314.43
5.3.190.0000.05714.71
5.3.180.0100.04714.68
5.3.170.0100.04714.62
5.3.160.0030.06014.65
5.3.150.0030.05314.55
5.3.140.0170.04014.66
5.3.130.0200.06714.64
5.3.120.0130.06014.64
5.3.110.0170.07014.52
5.3.100.0130.04314.11
5.3.90.0130.04314.18
5.3.80.0030.05014.11
5.3.70.0100.04313.88
5.3.60.0030.05014.09
5.3.50.0030.05014.02
5.3.40.0030.05313.95
5.3.30.0030.05014.00
5.3.20.0070.04713.79
5.3.10.0100.04713.49
5.3.00.0070.04713.72
5.2.170.0100.03711.21
5.2.160.0030.04011.37
5.2.150.0030.04311.19
5.2.140.0070.04011.26
5.2.130.0030.04011.14
5.2.120.0070.05711.29
5.2.110.0030.04311.14
5.2.100.0030.04311.33
5.2.90.0030.04011.27
5.2.80.0030.04311.18
5.2.70.0070.04011.23
5.2.60.0100.05011.23
5.2.50.0070.04011.11
5.2.40.0070.03711.17
5.2.30.0130.03711.06
5.2.20.0000.04311.00
5.2.10.0070.03711.02
5.2.00.0070.03710.96
5.1.60.0070.03310.15
5.1.50.0070.03310.11
5.1.40.0030.03310.10
5.1.30.0100.03010.37
5.1.20.0070.03710.41
5.1.10.0030.03710.29
5.1.00.0000.04010.22
5.0.50.0030.0278.67
5.0.40.0000.0308.54
5.0.30.0030.0438.53
5.0.20.0070.0238.16
5.0.10.0070.0238.39
5.0.00.0100.0338.25
4.4.90.0000.0237.29
4.4.80.0030.0207.29
4.4.70.0070.0237.29
4.4.60.0000.0237.29
4.4.50.0000.0237.29
4.4.40.0030.0337.29
4.4.30.0000.0237.29
4.4.20.0030.0207.29
4.4.10.0000.0337.29
4.4.00.0030.0337.29
4.3.110.0000.0277.29
4.3.100.0070.0207.29
4.3.90.0000.0207.29
4.3.80.0030.0307.29
4.3.70.0070.0177.29
4.3.60.0030.0177.29
4.3.50.0070.0177.29
4.3.40.0030.0307.29
4.3.30.0000.0237.29
4.3.20.0000.0237.29
4.3.10.0000.0237.29
4.3.00.0130.0177.00

preferences:
45.22 ms | 401 KiB | 5 Q