3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = new \DOMText('string'); var_dump($s);
Output for git.master, git.master_jit, rfc.property-hooks
object(DOMText)#1 (20) { ["wholeText"]=> string(6) "string" ["data"]=> string(6) "string" ["length"]=> int(6) ["previousElementSibling"]=> NULL ["nextElementSibling"]=> NULL ["nodeName"]=> string(5) "#text" ["nodeValue"]=> string(6) "string" ["nodeType"]=> int(3) ["parentNode"]=> NULL ["childNodes"]=> string(22) "(object value omitted)" ["firstChild"]=> NULL ["lastChild"]=> NULL ["previousSibling"]=> NULL ["nextSibling"]=> NULL ["attributes"]=> NULL ["namespaceURI"]=> NULL ["prefix"]=> string(0) "" ["localName"]=> NULL ["baseURI"]=> NULL ["textContent"]=> string(6) "string" }

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:
67.27 ms | 402 KiB | 8 Q