xref: /PHP-8.0/ext/tidy/tests/bug54682.phpt (revision 7476d2c1)
1--TEST--
2Tidy::diagnose() NULL pointer dereference
3--SKIPIF--
4<?php if (!extension_loaded("tidy")) print "skip"; ?>
5--FILE--
6<?php
7
8$nx = new Tidy("*");
9$nx->diagnose();
10
11?>
12--EXPECTF--
13Warning: tidy::__construct(): Cannot load "*" into memory%win %s on line %d
14