3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = simplexml_load_string('<?xml version="1.0"?> <document> <ADDDATA> <PAGEN>1</PAGEN> <DOCN>123456789</DOCN> <DATE>06.07.2017</DATE> </ADDDATA> </document> '); $nodes = $xml->xpath('//DOCN'); echo $nodes[0]; var_dump($nodes[0]->asXML()); var_dump($nodes);
Output for git.master_jit, git.master, rfc.property-hooks
123456789string(22) "<DOCN>123456789</DOCN>" array(1) { [0]=> object(SimpleXMLElement)#2 (1) { [0]=> string(9) "123456789" } }

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:
168.27 ms | 405 KiB | 5 Q