3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = ' <?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> <numhits>0</numhits> <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> '; echo $string';
Output for 5.4.0 - 5.4.20
Parse error: syntax error, unexpected 'conditions' (T_STRING) in /in/KEiAJ on line 33
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_STRING in /in/KEiAJ on line 33
Process exited with code 255.