3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<EOT <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE test [<!ENTITY xxe SYSTEM "http://exploited.cz/robots.txt">]> <foo>&xxe;</foo> EOT; // $x = simplexml_load_string($xml); $x = simplexml_load_string($xml, null, LIBXML_NOENT); var_dump((string)$x);

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.01118.98
8.3.50.0140.00522.30
8.3.40.0110.00719.34
8.3.30.0070.00719.59
8.3.20.0060.00320.91
8.3.10.0080.00022.54
8.3.00.0050.00323.02
8.2.180.0120.00619.04
8.2.170.0080.00822.96
8.2.160.0160.00321.44
8.2.150.0120.00324.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0030.00617.88
8.2.110.0070.00322.62
8.2.100.0100.00318.22
8.2.90.0000.00819.49
8.2.80.0000.00920.04
8.2.70.0060.00318.00
8.2.60.0050.00318.30
8.2.50.0040.00418.07
8.2.40.0050.00318.47
8.2.30.0050.00318.45
8.2.20.0030.00618.08
8.2.10.0050.00318.23
8.2.00.0040.00418.14
8.1.280.0040.01125.92
8.1.270.0040.00422.60
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0040.00424.41
8.1.230.0030.00919.71
8.1.220.0040.00418.13
8.1.210.0030.00618.77
8.1.200.0070.00317.85
8.1.190.0040.00417.77
8.1.180.0030.00618.10
8.1.170.0040.00419.14
8.1.160.0040.00422.41
8.1.150.0000.00819.05
8.1.140.0050.00317.80
8.1.130.0000.00818.29
8.1.120.0030.00617.87
8.1.110.0030.00617.82
8.1.100.0030.00517.84
8.1.90.0020.00517.75
8.1.80.0040.00417.93
8.1.70.0040.00417.88
8.1.60.0090.00018.08
8.1.50.0060.00317.77
8.1.40.0030.00617.98
8.1.30.0030.00617.98
8.1.20.0060.00318.09
8.1.10.0060.00317.96
8.1.00.0030.00617.84
8.0.300.0040.00418.77
8.0.290.0030.00717.68
8.0.280.0000.00718.84
8.0.270.0040.00417.65
8.0.260.0000.00717.21
8.0.250.0020.00517.26
8.0.240.0040.00417.35
8.0.230.0050.00217.35
8.0.220.0030.00317.38
8.0.210.0070.00017.40
8.0.200.0080.00017.23
8.0.190.0070.00017.36
8.0.180.0040.00417.34
8.0.170.0000.00817.41
8.0.160.0030.00617.25
8.0.150.0040.00417.37
8.0.140.0040.00417.32
8.0.130.0000.00613.83
8.0.120.0080.00017.30
8.0.110.0060.00317.48
8.0.100.0040.00417.43
8.0.90.0050.00317.33
8.0.80.0090.00917.34
8.0.70.0080.00017.33
8.0.60.0030.00517.36
8.0.50.0080.00017.32
8.0.30.0150.00617.43
8.0.20.0080.01117.65
8.0.10.0040.00417.50
8.0.00.0130.00817.40
7.4.330.0000.00715.65
7.4.320.0060.00017.09
7.4.300.0040.00417.00
7.4.290.0030.00616.90
7.4.280.0000.00716.90
7.4.270.0040.00416.99
7.4.260.0060.00617.05
7.4.250.0040.00417.04
7.4.240.0040.00416.99
7.4.230.0000.00717.13
7.4.220.0110.01117.02
7.4.210.0060.01017.12
7.4.200.0000.00817.04
7.4.190.0030.00617.14
7.4.160.0070.01117.04
7.4.150.0060.01317.40
7.4.140.0120.00717.86
7.4.130.0140.00816.88
7.4.120.0080.01216.94
7.4.110.0120.00916.99
7.4.100.0090.01217.10
7.4.90.0110.00717.00
7.4.80.0060.01219.39
7.4.70.0060.01217.09
7.4.60.0100.00716.93
7.4.50.0030.00617.06
7.4.40.0040.00822.77
7.4.30.0050.01417.00
7.4.00.0150.00415.43
7.3.330.0020.00413.48
7.3.320.0030.00313.39
7.3.310.0000.00816.91
7.3.300.0070.00016.79
7.3.290.0120.00616.83
7.3.280.0090.01016.80
7.3.270.0160.01017.40
7.3.260.0140.00717.08
7.3.250.0070.01116.88
7.3.240.0170.00316.67
7.3.230.0110.01116.89
7.3.210.0110.01116.66
7.3.200.0110.01119.39
7.3.190.0140.00616.71
7.3.180.0070.01017.04
7.3.170.0150.01016.83
7.3.160.0060.01216.86
7.3.120.0090.00615.00
7.2.330.0130.00717.19
7.2.320.0090.01517.02
7.2.310.0180.01217.11
7.2.300.0090.00916.90
7.2.290.0030.01517.15
7.2.60.0050.00817.33
7.2.00.0130.00619.86
7.1.200.0060.01016.27
7.1.100.0040.00818.11
7.1.70.0040.00417.68
7.1.60.0130.00919.82
7.1.50.0120.01217.31
7.1.00.0030.07722.86
7.0.200.0000.00816.86
7.0.140.0030.07322.54
7.0.70.0030.08322.29
7.0.60.0100.07722.20
7.0.50.0000.04322.49
7.0.40.0030.04020.67
7.0.30.0130.03320.56
7.0.20.0070.05020.66
7.0.10.0000.04020.63
7.0.00.0030.04020.45
5.6.280.0070.07321.68
5.6.220.0070.08021.09
5.6.210.0100.06321.23
5.6.200.0030.04321.44
5.6.190.0070.04021.61
5.6.180.0030.04021.33
5.6.170.0000.04321.46
5.6.160.0030.04021.61
5.6.150.0030.06321.62
5.6.140.0070.03721.65
5.6.130.0000.04321.54
5.6.120.0070.03721.40
5.6.110.0000.04321.59
5.6.100.0000.03721.45
5.6.90.0070.04021.49
5.6.80.0000.04020.87
5.6.70.0000.06021.00
5.6.60.0000.03321.03
5.6.50.0030.04020.81
5.6.40.0070.03321.10
5.6.30.0030.05720.96
5.6.20.0030.04020.90
5.6.10.0030.04320.95
5.6.00.0070.04020.72
5.5.360.0030.08320.84
5.5.350.0030.07720.84
5.5.340.0000.04321.19
5.5.330.0030.04021.33
5.5.320.0030.04321.49
5.5.310.0000.04321.17
5.5.300.0000.05721.50
5.5.290.0000.03721.36
5.5.280.0000.08321.18
5.5.270.0030.04021.36
5.5.260.0000.04721.16
5.5.250.0000.04321.14
5.5.240.0030.03720.86
5.5.230.0030.03320.70
5.5.220.0030.03720.52
5.5.210.0000.03720.56
5.5.200.0000.04020.68
5.5.190.0030.04720.68
5.5.180.0030.04320.72
5.5.160.0030.03720.52
5.5.150.0030.03320.52
5.5.140.0000.04020.75
5.5.130.0030.03020.67
5.5.120.0000.04020.58
5.5.110.0000.04020.75
5.5.100.0000.04020.46
5.5.90.0100.06020.50
5.5.80.0070.05720.39
5.5.70.0030.08320.71
5.5.60.0030.08320.41
5.5.50.0030.04320.59
5.5.40.0030.07320.71
5.5.30.0070.07720.48
5.5.20.0030.08020.59
5.5.10.0000.06320.54
5.5.00.0030.07720.54
5.4.450.0000.04019.75
5.4.440.0000.04019.74
5.4.430.0000.04019.88
5.4.420.0000.04019.88
5.4.410.0030.05319.75
5.4.400.0030.03319.61
5.4.390.0030.03019.44
5.4.380.0000.05319.60
5.4.370.0030.03319.46
5.4.360.0000.04019.52
5.4.350.0070.07719.55
5.4.340.0000.04019.41
5.4.320.0070.02719.66
5.4.310.0030.03719.46
5.4.300.0030.07319.69
5.4.290.0130.02019.62
5.4.280.0030.05019.61
5.4.270.0030.03019.55
5.4.260.0000.04719.56
5.4.250.0030.04719.59
5.4.240.0070.07319.69
5.4.230.0100.08019.47
5.4.220.0100.04319.56
5.4.210.0130.06719.55
5.4.200.0030.05319.43
5.4.190.0030.06319.57
5.4.180.0030.05019.40
5.4.170.0030.06019.40
5.4.160.0070.04719.30
5.4.150.0030.07719.41
5.4.140.0000.06717.02
5.4.130.0000.08017.05
5.4.120.0070.04716.97
5.4.110.0030.06716.93
5.4.100.0070.07317.01
5.4.90.0070.07716.89
5.4.80.0070.06717.01
5.4.70.0070.07316.90
5.4.60.0000.08016.85
5.4.50.0000.04316.94
5.4.40.0000.07316.76
5.4.30.0030.07017.00
5.4.20.0070.07316.88
5.4.10.0030.08016.70
5.4.00.0030.05016.50
5.3.290.0000.04015.03
5.3.280.0000.08014.99
5.3.270.0030.06715.04
5.3.260.0030.08014.86
5.3.250.0030.07315.02
5.3.240.0000.06714.97
5.3.230.0000.05315.00
5.3.220.0030.08014.78
5.3.210.0000.08014.91
5.3.200.0000.08014.90
5.3.190.0070.07314.90
5.3.180.0030.07014.95
5.3.170.0030.07714.92
5.3.160.0030.07314.91
5.3.150.0030.07314.97
5.3.140.0000.08314.84
5.3.130.0070.06014.93
5.3.120.0000.06014.89
5.3.110.0070.07314.88
5.3.100.0130.06714.32
5.3.90.0030.07314.41
5.3.80.0000.08014.44
5.3.70.0070.05314.39
5.3.60.0030.07714.33
5.3.50.0000.07714.26
5.3.40.0030.04714.16
5.3.30.0030.07314.27
5.3.20.0000.07014.08
5.3.10.0170.06314.05
5.3.00.0000.07313.99
5.2.170.0100.05712.16
5.2.160.0000.05012.16
5.2.150.0030.05012.16
5.2.140.0000.07012.20
5.2.130.0030.06012.20
5.2.120.0000.06012.20
5.2.110.0030.06012.20
5.2.100.0030.06312.20
5.2.90.0070.04312.20
5.2.80.0030.03712.20
5.2.70.0030.06012.20
5.2.60.0000.06712.20
5.2.50.0030.06312.20
5.2.40.0000.06712.20
5.2.30.0000.06712.20
5.2.20.0000.06312.20
5.2.10.0070.05312.20
5.2.00.0030.06312.20
5.1.60.0030.05712.20
5.1.50.0030.05712.20
5.1.40.0070.05012.20
5.1.30.0030.05712.20
5.1.20.0030.04712.20
5.1.10.0130.04012.20
5.1.00.0000.05712.20
5.0.50.0030.04012.20
5.0.40.0000.03012.20
5.0.30.0000.06712.20
5.0.20.0000.03312.20
5.0.10.0000.02012.20
5.0.00.0030.06712.20
4.4.90.0000.03712.20
4.4.80.0000.03012.20
4.4.70.0030.02312.20
4.4.60.0000.03312.20
4.4.50.0000.02312.20
4.4.40.0030.03712.20
4.4.30.0030.03712.20
4.4.20.0030.02312.20
4.4.10.0000.03312.20
4.4.00.0000.05312.20
4.3.110.0000.02312.20
4.3.100.0070.03012.20
4.3.90.0000.01312.20
4.3.80.0000.05012.20
4.3.70.0000.02712.20
4.3.60.0000.03712.20
4.3.50.0030.03012.20
4.3.40.0030.05012.20
4.3.30.0000.03712.20
4.3.20.0000.03712.20
4.3.10.0000.03012.20
4.3.00.0000.03012.20

preferences:
68.04 ms | 401 KiB | 5 Q