xref: /PHP-8.2/ext/tidy/tests/bug54682.phpt (revision 7f2f0c00)
1--TEST--
2Tidy::diagnose() NULL pointer dereference
3--EXTENSIONS--
4tidy
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