static DOMDocument loadFile(string $file, string|callable|null $schemaOrCallable = null)
Loads an XML file.
static DOMDocument loadFile(string $file, string|callable|null $schemaOrCallable = null)
Loads an XML file.
string | $file | An XML file path |
string|callable|null | $schemaOrCallable | An XSD schema file path, a callable, or null to disable validation |
DOMDocument |
InvalidArgumentException | When loading of XML file returns error |
Designed by : w10schools
service@w10schools.com
Please login to continue.