3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml='<?xml version="1.0" encoding="UTF-8" ?>'; $xml.='<Test> <Item> <Price>0.53</Price> <Text>This is some test text. We need to see how it does.&lt;br&gt; This is a second line of text.</Text> </Item> </Test>'; $result=simplexml_load_string($xml); echo $result->Item->Text;

preferences:
38.59 ms | 402 KiB | 5 Q