simplexml_load_file(PHP 5) simplexml_load_file — Interprets an XML file into an object Описание
object simplexml_load_file
( string $filename
[, string $class_name
[, int $options
[, string $ns
[, bool $is_prefix
]]]] )
Convert the well-formed XML document in the given file to 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 document
<?phpThis script will display, on success:
At this point, you can go about using $xml->title and any other elements. |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |