xsltprocessor_getParameter-invalidparam.phpt 380 B

1234567891011121314151617
  1. --TEST--
  2. Check xsltprocessor::getParameter with undefined parameter
  3. --SKIPIF--
  4. <?php
  5. if (!extension_loaded('xsl')) {
  6. die("skip\n");
  7. }
  8. ?>
  9. --FILE--
  10. <?php
  11. include dirname(__FILE__) .'/prepare.inc';
  12. var_dump($proc->getParameter('', 'doesnotexist'));
  13. --EXPECTF--
  14. bool(false)
  15. --CREDITS--
  16. Christian Weiske, cweiske@php.net
  17. PHP Testfest Berlin 2009-05-09