3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new DOMDocument; $doc->loadXML('<?xml version="1.0" encoding="UTF-8"?> <c:request type="create"> <tridas:object> <tridas:title>ppp</tridas:title> <tridas:type normalStd="Tellervo" normalId="1" normal="Site" /> <tridas:genericField name="tellervo.objectLabCode">ppp</tridas:genericField> </tridas:object> </c:request> '); $element = $doc->documentElement; echo $element->nodeName, ' / ', $element->tagName;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: DOMDocument::loadXML(): Namespace prefix c on request is not defined in Entity, line: 2 in /in/tHBbf on line 3 Warning: DOMDocument::loadXML(): Namespace prefix tridas on object is not defined in Entity, line: 3 in /in/tHBbf on line 3 Warning: DOMDocument::loadXML(): Namespace prefix tridas on title is not defined in Entity, line: 4 in /in/tHBbf on line 3 Warning: DOMDocument::loadXML(): Namespace prefix tridas on type is not defined in Entity, line: 5 in /in/tHBbf on line 3 Warning: DOMDocument::loadXML(): Namespace prefix tridas on genericField is not defined in Entity, line: 6 in /in/tHBbf on line 3 c:request / c:request

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:
42.04 ms | 403 KiB | 8 Q