mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
21 lines
469 B
Plaintext
21 lines
469 B
Plaintext
|
--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
|