simplexml_load_string(PHP 5) simplexml_load_string — Interprets a string of XML into an object Описание
object simplexml_load_string
( string $data
[, string $class_name
[, int $options
[, string $ns
[, bool $is_prefix
]]]] )
Takes a well-formed XML string and returns it as an object. Список параметров
Возвращаемые значенияReturns an object of class SimpleXMLElement with properties containing the data held within the xml document. On errors, it will return FALSE. Примеры
Пример #1 Interpret an XML string
<?phpРезультат выполнения данного примера:
At this point, you can go about using $xml->body and such. |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |