1--TEST-- 2Check xsltprocessor::removeParameter wrong parameter handling 3--SKIPIF-- 4<?php 5 if (!extension_loaded('xsl')) { 6 die("skip\n"); 7 } 8?> 9--FILE-- 10<?php 11include dirname(__FILE__) .'/prepare.inc'; 12$proc->removeParameter(); 13$proc->removeParameter(array(), array()); 14$proc->removeParameter('', array()); 15--EXPECTF-- 16Warning: XSLTProcessor::removeParameter() expects exactly 2 parameters, 0 given in %s on line %d 17 18Warning: XSLTProcessor::removeParameter() expects parameter 1 to be string, array given in %s on line %d 19 20Warning: XSLTProcessor::removeParameter() expects parameter 2 to be string, array given in %s on line %d 21--CREDITS-- 22Christian Weiske, cweiske@php.net 23PHP Testfest Berlin 2009-05-09 24