3v4l.org

run code in 300+ PHP versions simultaneously
<?php $me = __FILE__; $xml = <<<ENDOFXML <!DOCTYPE root [ <!ENTITY foo SYSTEM "php://filter/convert.base64-encode/resource=$me"> ]> <foo>&foo;</foo> ENDOFXML; echo "libxml version: " . LIBXML_DOTTED_VERSION . "\n\n"; $s = simplexml_load_string($xml); var_dump($s); echo "\n"; var_dump(base64_decode($s));

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.140.0000.00818.30
8.3.130.0000.00818.35
8.3.120.0130.00620.80
8.3.110.0100.01020.94
8.3.100.0030.00718.68
8.3.90.0000.00826.77
8.3.80.0070.00316.63
8.3.70.0040.01418.55
8.3.60.0190.00018.52
8.3.50.0120.00620.27
8.3.40.0120.00318.81
8.3.30.0110.00418.92
8.3.20.0080.00024.18
8.3.10.0030.00624.66
8.3.00.0040.00426.16
8.2.250.0080.00816.77
8.2.240.0040.00417.54
8.2.230.0040.01222.58
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0000.00816.50
8.2.190.0070.01016.75
8.2.180.0140.00325.92
8.2.170.0040.01119.22
8.2.160.0140.00022.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00721.36
8.2.110.0030.00620.77
8.2.100.0060.00618.16
8.2.90.0030.00519.30
8.2.80.0000.00818.18
8.2.70.0050.00317.88
8.2.60.0080.00317.62
8.2.50.0050.00318.07
8.2.40.0040.00418.34
8.2.30.0070.00018.30
8.2.20.0070.00020.50
8.2.10.0040.00418.33
8.2.00.0050.00319.48
8.1.300.0060.00916.48
8.1.290.0090.00030.84
8.1.280.0070.01025.92
8.1.270.0080.00023.99
8.1.260.0120.00626.35
8.1.250.0070.00028.09
8.1.240.0060.00321.05
8.1.230.0000.01119.41
8.1.220.0000.00817.91
8.1.210.0000.00818.77
8.1.200.0070.00417.47
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0030.00618.76
8.1.160.0040.00418.95
8.1.150.0040.00418.69
8.1.140.0070.00017.47
8.1.130.0040.00419.03
8.1.120.0020.00517.53
8.1.110.0040.00417.53
8.1.100.0000.00817.59
8.1.90.0070.00017.50
8.1.80.0000.00817.50
8.1.70.0150.00417.60
8.1.60.0150.00317.75
8.1.50.0150.00417.56
8.1.40.0070.00717.70
8.1.30.0150.00317.70
8.1.20.0150.00517.71
8.1.10.0140.00717.63
8.1.00.0080.01217.57
8.0.300.0000.00718.77
8.0.290.0050.00316.75
8.0.280.0000.00718.71
8.0.270.0040.00417.48
8.0.260.0030.00318.62
8.0.250.0030.00317.27
8.0.240.0000.00717.13
8.0.230.0060.00617.19
8.0.220.0040.00417.20
8.0.210.0000.00717.20
8.0.200.0060.00617.13
8.0.190.0130.00317.18
8.0.180.0120.00417.15
8.0.170.0000.01417.17
8.0.160.0150.00016.96
8.0.150.0120.00517.14
8.0.140.0000.01717.13
8.0.130.0090.00817.03
8.0.120.0050.01117.23
8.0.110.0070.00717.11
8.0.100.0130.00317.17
8.0.90.0120.00317.18
8.0.80.0110.00617.12
8.0.70.0080.00816.98
8.0.60.0110.00517.23
8.0.50.0150.00017.18
8.0.30.0110.00617.16
8.0.20.0080.00817.08
8.0.10.0100.00617.27
7.4.330.0000.00515.55
7.4.320.0040.00416.75
7.4.300.0100.00816.58
7.4.290.0080.00016.63
7.4.280.0170.00016.68
7.4.270.0110.00616.77
7.4.260.0120.00616.78
7.4.250.0110.00416.76
7.4.240.0040.00816.60
7.4.230.0050.00916.73
7.4.220.0130.00016.73
7.4.210.0100.00016.66
7.4.200.0060.00616.73
7.4.190.0080.00416.71
7.4.180.0080.00516.82
7.4.160.0110.00316.83
7.4.150.0030.00616.63
7.4.140.0060.00616.30
7.4.130.0120.00016.50
7.4.120.0060.00816.51
7.4.110.0070.00416.54
7.4.100.0050.00616.75
7.4.90.0000.01116.62
7.4.80.0070.00316.63
7.4.70.0000.01216.55
7.4.60.0000.01016.72
7.4.50.0080.00416.48
7.4.40.0070.00516.63
7.4.30.0090.00316.32
7.4.20.0060.00616.49
7.4.10.0130.00016.62
7.4.00.0060.00616.54

preferences:
50.91 ms | 403 KiB | 5 Q