1--TEST-- 2XSLTProcessor::getParameter() 3--EXTENSIONS-- 4xsl 5--FILE-- 6<?php 7 8$xslt = new XSLTProcessor; 9 10// Interned string test 11$xslt->setParameter('', 'foo', 'bar'); 12var_dump($xslt->getParameter("", "foo")); 13$xslt->removeParameter('', 'foo'); 14var_dump($xslt->getParameter("", "foo")); 15 16// Non-interned string test 17$xslt->setParameter('', 'foo', str_repeat('"abcd"', mt_rand(2, 2) /* defeat SCCP */)); 18var_dump($xslt->getParameter("", "foo")); 19$xslt->removeParameter('', 'foo'); 20var_dump($xslt->getParameter("", "foo")); 21 22?> 23--EXPECT-- 24string(3) "bar" 25bool(false) 26string(12) ""abcd""abcd"" 27bool(false) 28