xref: /PHP-7.1/ext/tidy/tests/035.phpt (revision e97d5fab)
1--TEST--
2tidyNode::__construct()
3--SKIPIF--
4<?php
5  if (!extension_loaded('tidy')) die ('skip tidy not present');
6?>
7--FILE--
8<?php
9new tidyNode;
10?>
11--EXPECTF--
12Fatal error: Uncaught Error: Call to private tidyNode::__construct() from invalid context in %s:%d
13Stack trace:
14#0 {main}
15  thrown in %s on line %d
16