Annotation of embedaddon/php/ext/xsl/tests/xsltprocessor_getParameter.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Check xsltprocessor::getparameter functionality
3: --SKIPIF--
4: <?php
5: if (!extension_loaded('xsl')) {
6: die("skip\n");
7: }
8: ?>
9: --FILE--
10: <?php
11: include dirname(__FILE__) .'/prepare.inc';
12: $proc->importStylesheet($xsl);
13: $proc->setParameter('', 'key', 'value');
14: var_dump($proc->getParameter('', 'key'));
15: --EXPECTF--
16: %string|unicode%(5) "value"
17: --CREDITS--
18: Christian Weiske, cweiske@php.net
19: PHP Testfest Berlin 2009-05-09
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>