update : 2015.11.03
php.shukuma.com검색:
|
SimpleXMLElement::__construct(PHP 5 >= 5.0.1) SimpleXMLElement::__construct — Creates a new SimpleXMLElement object 설명
final public SimpleXMLElement::__construct
( string
$data
[, int $options = 0
[, bool $data_is_url = false
[, string $ns = ""
[, bool $is_prefix = false
]]]] )Creates a new SimpleXMLElement object. 인수
반환값
Returns a SimpleXMLElement object representing
오류/예외
Produces an Tip
Use libxml_use_internal_errors() to suppress all XML errors, and libxml_get_errors() to iterate over them afterwards. 예제
Example #1 Create a SimpleXMLElement object
<?php 위 예제의 출력: PHP: Behind the Parser
Example #2 Create a SimpleXMLElement object from a URL
<?php 변경점
참고
|