summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/bug54682.phpt
blob: 174bbb37c429a68c65813af52e9c371abae9b4aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Tidy::diagnose() NULL pointer dereference
--SKIPIF--
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php

$nx = new Tidy("*");
$nx->diagnose();

?>
--EXPECTF--
Warning: tidy::__construct(): Cannot load "*" into memory%win %s on line %d