1--TEST--
2Dom\XMLDocument::createFromFile 03
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8try {
9    Dom\XMLDocument::createFromFile("%00");
10} catch (ValueError $e) {
11    echo $e->getMessage();
12}
13
14?>
15--EXPECT--
16Dom\XMLDocument::createFromFile(): Argument #1 ($path) must not contain percent-encoded NUL bytes
17