update : 2015.11.03
php.shukuma.com

검색:
 
 
Set parser options

XMLReader::setParserProperty

(PHP 5 >= 5.1.0)

XMLReader::setParserPropertySet parser options

설명

public bool XMLReader::setParserProperty ( int $property , bool $value )

Set parser options. The options must be set after XMLReader::open() or XMLReader::xml() are called and before the first XMLReader::read() call.

인수

property

One of the parser option constants.

value

If set to TRUE the option will be enabled otherwise will be disabled.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.