3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<EOF <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE romeoapi SYSTEM "http://www.sherpa.ac.uk/romeo/romeoapi24.dtd"> <romeoapi version="2.9.4"> <header> <parameters> <parameter source="specified"> <parametername>id</parametername> <parametervalue>213213213213213</parametervalue> </parameter> <parameter source="default"> <parametername>showfunder</parametername> <parametervalue>none</parametervalue> </parameter> <parameter source="default"> <parametername>fIDnum</parametername> <parametervalue>|</parametervalue> </parameter> <parameter source="default"> <parametername>la</parametername> <parametervalue>en</parametervalue> </parameter> <parameter source="default"> <parametername>versions</parametername> <parametervalue>legacy</parametervalue> </parameter> </parameters> <apicontrol>identifier</apicontrol> <outcome>notFound</outcome> <message /> <licence>SHERPA/RoMEO data is available for re-use under a Creative Commons Attribution-Non-Commercial-Share Alike 2.5 licence. For more details, please see the 'conditions for re-use' at the &lt;licenceurl /&gt;, and linked-to from the SHERPA/RoMEO home page.</licence> <licenceurl>http://www.sherpa.ac.uk/romeoreuse.html</licenceurl> <disclaimer>All SHERPA/RoMEO information is correct to the best of our knowledge but should not be relied upon for legal advice. SHERPA cannot be held responsible for the re-use of RoMEO data, or for alternative interpretations which are derived from this information.</disclaimer> <timestamp>16-Oct-2013:15:00:12</timestamp> </header> <journals /> <publishers /> </romeoapi> EOF; $check = simplexml_load_string($string); echo($check->header->numhits);
Output for git.master, git.master_jit, rfc.property-hooks

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:
44.1 ms | 401 KiB | 8 Q