mirror of
https://github.com/php/php-src.git
synced 2024-10-04 08:16:11 +00:00
19 lines
414 B
Plaintext
19 lines
414 B
Plaintext
|
--TEST--
|
||
|
Check xsltprocessor::removeParameter with invalid parameter
|
||
|
--SKIPIF--
|
||
|
<?php
|
||
|
if (!extension_loaded('xsl')) {
|
||
|
die("skip\n");
|
||
|
}
|
||
|
?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
include dirname(__FILE__) .'/prepare.inc';
|
||
|
$proc->importStylesheet($xsl);
|
||
|
var_dump($proc->removeParameter('', 'doesnotexist'));
|
||
|
--EXPECT--
|
||
|
bool(false)
|
||
|
--CREDITS--
|
||
|
Christian Weiske, cweiske@php.net
|
||
|
PHP Testfest Berlin 2009-05-09
|