= 5.1.0, PHP 7, PHP 8)XMLReader::setRelaxNGSchemaSource — Set the data containing a RelaxNG Schema說明public XM">

XMLReader::setRelaxNGSchemaSource

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

XMLReader::setRelaxNGSchemaSourceSet the data containing a RelaxNG Schema

說明

public XMLReader::setRelaxNGSchemaSource(?string $source): bool

Set the data containing a RelaxNG Schema to use for validation.

參數(shù)

source

String containing the RelaxNG Schema.

返回值

成功時返回 true, 或者在失敗時返回 false

參見