3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<XML <?xml version="1.0" encoding="utf-8"?> <Results> <Letters Type="RBPN SD"><![CDATA[ <html xmlns="http://www.w3.org/1999/xhtml"><table border="0" ... </table></td></tr></table></html>]]> </Letters> <Letters2 Type="Adverse"><![CDATA[ <html xmlns="http://www.w3.org/1999/xhtml"><table border="0" ... </table></td></tr></table></html>]]> </Letters2> </Results> XML; $xml = simplexml_load_string($str); $results = $xml->xpath('//Letters[@Type="RBPN SD"]'); $content = trim((string) $results[0]); var_dump($content); // file_put_contents("$base_path\\BPP.html", $content);

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.5.00.0110.01020.37
8.4.150.0010.00114.05
8.4.140.0160.00517.84
8.4.130.0160.00418.08
8.4.120.0050.00620.92
8.4.110.0110.00519.09
8.4.100.0060.00718.09
8.4.90.0110.00920.80
8.4.80.0110.00919.12
8.4.70.0140.00621.20
8.4.60.0150.00618.01
8.4.50.0100.01119.25
8.4.40.0070.01319.81
8.4.30.0130.00619.36
8.3.280.0020.00014.05
8.3.270.0100.01016.75
8.3.260.0100.00916.73
8.3.250.0080.01118.99
8.3.240.0120.00716.70
8.3.230.0060.00716.71
8.3.220.0040.00419.21
8.3.210.0090.00618.56
8.3.200.0050.00416.96
8.3.190.0090.01116.76
8.3.180.0090.00616.76
8.3.170.0070.01118.59
8.3.160.0130.00618.59
8.3.50.0080.00018.88
8.2.290.0060.01016.92
8.2.280.0060.00218.73
8.1.320.0100.00916.52

preferences:
36.05 ms | 403 KiB | 5 Q