summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/bug54682.phpt
blob: 99f40cf9d28b6908e62d811a571fe1f109d66257 (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 in %s on line %d