xref: /PHP-7.4/ext/tidy/tests/bug54682.phpt (revision c981016e)
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