3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mydata = <<<XML <?xml version="1.0" encoding="UTF-8" standalone="no"?> <fmresultset xmlns="http://www.filemaker.com/xml/fmresultset" version="1.0"> <resultset count="1" fetch-size="1"> <record mod-id="27" record-id="754"> <field name="a_Constant_c"> <data>1</data> </field> <field name="a_Sch_ID_pk"> <data>100060</data> </field> <field name="a_SchoolHead_pk"> <data>100060_1</data> </field> <field name="b___Data_____________"> <data /> </field> <field name="b_1Name_School_Code_t"> <data>PJA</data> </field> <field name="b_1Name_School_t"> <data>Palmetto</data> </field> <field name="b_1Name_SchoolHead_t"> <data>John Doe</data> </field> <field name="b_Ad_Address1_t"> <data /> </field> <field name="b_Ad_Address2_t"> <data>123 Main St.</data> </field> </record> </resultset> </fmresultset> XML; $xml = simplexml_load_string($mydata); $xml->registerXPathNamespace("fmresultset", "http://www.filemaker.com/xml/fmresultset"); $node = $xml->xpath("//fmresultset:resultset/fmresultset:record/fmresultset:field[@name='b_1Name_School_Code_t']"); echo $node[0]->data;
Output for git.master, git.master_jit, rfc.property-hooks
PJA

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