3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dom = new DOMDocument(); $dom->appendChild($dom->createElement('foo')); var_dump( get_class_vars('DOMElement') );
Output for git.master, git.master_jit, rfc.property-hooks
array(23) { ["nodeName"]=> NULL ["nodeValue"]=> NULL ["nodeType"]=> NULL ["parentNode"]=> NULL ["childNodes"]=> NULL ["firstChild"]=> NULL ["lastChild"]=> NULL ["previousSibling"]=> NULL ["nextSibling"]=> NULL ["attributes"]=> NULL ["ownerDocument"]=> NULL ["namespaceURI"]=> NULL ["prefix"]=> NULL ["localName"]=> NULL ["baseURI"]=> NULL ["textContent"]=> NULL ["tagName"]=> NULL ["schemaTypeInfo"]=> NULL ["firstElementChild"]=> NULL ["lastElementChild"]=> NULL ["childElementCount"]=> NULL ["previousElementSibling"]=> NULL ["nextElementSibling"]=> NULL }

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.96 ms | 402 KiB | 8 Q