- simplexml_load_string: documentation ( source)
- print_r: documentation ( source)
<?php
$string = <<<XML
<programme channel="cnn.info" start="20131027060000" stop="20131027061500">
<title>hello CONTENT</title>
<premiere/></programme>
XML;
$xml = simplexml_load_string($string);
print_r($xml);