1234567891011121314151617181920 |
- --TEST--
- Check xsltprocessor::removeParameter functionality
- --SKIPIF--
- <?php
- if (!extension_loaded('xsl')) {
- die("skip\n");
- }
- ?>
- --FILE--
- <?php
- include dirname(__FILE__) .'/prepare.inc';
- $proc->importStylesheet($xsl);
- $proc->setParameter('', 'key', 'value');
- $proc->removeParameter('', 'key');
- var_dump($proc->getParameter('', 'key'));
- --EXPECT--
- bool(false)
- --CREDITS--
- Christian Weiske, cweiske@php.net
- PHP Testfest Berlin 2009-05-09
|