3v4l.org

run code in 300+ PHP versions simultaneously
<?php $me = __FILE__; $xml = <<<ENDOFXML <!DOCTYPE root [ <!ENTITY foo SYSTEM "$me"> ]> <foo>&foo;</foo> ENDOFXML; echo "libxml version: " . LIBXML_DOTTED_VERSION . "\n\n"; $s = simplexml_load_string($xml, null, LIBXML_NOENT); 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.0140.00716.91
8.3.130.0040.00416.90
8.3.120.0060.00319.17
8.3.110.0060.00320.94
8.3.100.0070.00316.86
8.3.90.0040.00426.77
8.3.80.0050.00517.13
8.3.70.0090.00917.13
8.3.60.0090.00618.68
8.3.50.0090.00620.28
8.3.40.0040.01119.26
8.3.30.0110.00319.47
8.3.20.0060.00324.18
8.3.10.0070.00024.66
8.3.00.0050.00326.16
8.2.250.0000.00818.87
8.2.240.0040.00417.24
8.2.230.0060.00322.58
8.2.220.0030.00524.06
8.2.210.0070.00026.77
8.2.200.0060.00317.00
8.2.190.0090.00917.13
8.2.180.0040.01125.92
8.2.170.0070.01419.21
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00421.15
8.2.110.0080.00420.82
8.2.100.0110.00018.29
8.2.90.0040.00718.34
8.2.80.0040.00420.96
8.2.70.0030.00617.75
8.2.60.0040.00418.05
8.2.50.0000.00918.07
8.2.40.0080.00020.38
8.2.30.0000.00718.30
8.2.20.0000.00720.57
8.2.10.0000.00718.48
8.2.00.0040.00419.59
8.1.300.0060.00316.38
8.1.290.0000.00930.84
8.1.280.0090.00925.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00722.44
8.1.230.0110.00021.15
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0060.00317.48
8.1.190.0050.00517.48
8.1.180.0000.00918.10
8.1.170.0040.00418.74
8.1.160.0050.00319.05
8.1.150.0000.00718.87
8.1.140.0040.00417.57
8.1.130.0050.00219.10
8.1.120.0070.00017.71
8.1.110.0040.00417.69
8.1.100.0040.00417.51
8.1.90.0080.00017.76
8.1.80.0000.00817.67
8.1.70.0080.00617.54
8.1.60.0120.00417.76
8.1.50.0140.00717.56
8.1.40.0110.00317.78
8.1.30.0140.00317.83
8.1.20.0130.00417.83
8.1.10.0070.00917.80
8.1.00.0050.00917.68
8.0.300.0040.00420.59
8.0.290.0040.00417.25
8.0.280.0030.00318.78
8.0.270.0000.00818.24
8.0.260.0060.00018.67
8.0.250.0000.00717.16
8.0.240.0050.00317.27
8.0.230.0070.00317.36
8.0.220.0000.00717.13
8.0.210.0000.00717.30
8.0.200.0090.00717.27
8.0.190.0100.00517.15
8.0.180.0110.00417.16
8.0.170.0050.00817.31
8.0.160.0070.00517.15
8.0.150.0080.00317.09
8.0.140.0130.00217.09
8.0.130.0110.00617.14
8.0.120.0100.00517.30
8.0.110.0160.00017.12
8.0.100.0140.00317.02
8.0.90.0140.00217.19
8.0.80.0130.00417.10
8.0.70.0100.00417.14
8.0.60.0100.00517.14
8.0.50.0090.00716.99
8.0.30.0130.00517.23
8.0.20.0110.00617.22
8.0.10.0090.00917.23
7.4.330.0020.00215.55
7.4.320.0000.00716.88
7.4.300.0130.00816.76
7.4.290.0150.00516.69
7.4.280.0130.00616.79
7.4.270.0100.00816.75
7.4.260.0110.00816.66
7.4.250.0140.00416.76
7.4.240.0130.00716.71
7.4.230.0100.00716.71
7.4.220.0160.00116.70
7.4.210.0140.00116.77
7.4.200.0120.00516.69
7.4.190.0050.01116.84
7.4.180.0120.00416.85
7.4.160.0090.00616.65
7.4.150.0140.00316.77
7.4.140.0140.00216.57
7.4.130.0140.00316.58
7.4.120.0110.00516.61
7.4.110.0110.00616.60
7.4.100.0130.00316.73
7.4.90.0110.00516.60
7.4.80.0110.00616.66
7.4.70.0110.00416.68
7.4.60.0130.00116.68
7.4.50.0030.00916.57
7.4.40.0110.00316.55
7.4.30.0070.00516.60
7.4.20.0110.00116.63
7.4.10.0100.00216.67
7.4.00.0070.00616.64

preferences:
22.58 ms | 403 KiB | 5 Q