bug54682.phpt 262 B

12345678910111213
  1. --TEST--
  2. Tidy::diagnose() NULL pointer dereference
  3. --SKIPIF--
  4. <?php if (!extension_loaded("tidy")) print "skip"; ?>
  5. --FILE--
  6. <?php
  7. $nx = new Tidy("*");
  8. $nx->diagnose();
  9. ?>
  10. --EXPECTF--
  11. Warning: tidy::__construct(): Cannot Load '*' into memory%win %s on line %d