1--TEST--
2Trying to parse a non existent file
3--EXTENSIONS--
4tidy
5--FILE--
6<?php
7
8$tidy = new tidy;
9var_dump($tidy->parseFile("does_not_exist.html"));
10
11var_dump(tidy_parse_file("does_not_exist.html"));
12
13$tidy = new tidy("does_not_exist.html");
14?>
15--EXPECTF--
16Warning: tidy::parseFile(): Cannot load "does_not_exist.html" into memory in %s on line %d
17bool(false)
18
19Warning: tidy_parse_file(): Cannot load "does_not_exist.html" into memory in %s on line %d
20bool(false)
21
22Warning: tidy::__construct(): Cannot load "does_not_exist.html" into memory in %s on line %d
23