3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE strony [ <!ENTITY shp SYSTEM "php://filter/convert.base64-encode/resource=/etc/"> ] > <strony> <strona id="cccc"> <nazwa>bbbb</nazwa> <url>http://www.aaaa.pl/</url> <komentarz> &shp;</komentarz> </strona> </strony>'; $strony = new SimpleXMLElement($xml, LIBXML_NOENT); foreach($strony->strona->komentarz as $komentarz) echo "$komentarz\n";
Output for git.master, git.master_jit, rfc.property-hooks
Notice: SimpleXMLElement::__construct(): Read of 8192 bytes failed with errno=21 Is a directory in /in/3MFWt on line 14 Notice: SimpleXMLElement::__construct(): Read of 8192 bytes failed with errno=21 Is a directory in /in/3MFWt on line 14 Notice: SimpleXMLElement::__construct(): Read of 8192 bytes failed with errno=21 Is a directory in /in/3MFWt on line 14

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.43 ms | 401 KiB | 8 Q