php-src/ext/tidy/tests/bug54682.phpt
2012-04-16 13:38:13 +02:00

14 lines
262 B
PHP

--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