php-src/ext/xsl/tests/xsltprocessor_getParameter-invalidparam.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

17 lines
379 B
PHP

--TEST--
Check xsltprocessor::getParameter with undefined parameter
--SKIPIF--
<?php
if (!extension_loaded('xsl')) {
die("skip\n");
}
?>
--FILE--
<?php
include dirname(__FILE__) .'/prepare.inc';
var_dump($proc->getParameter('', 'doesnotexist'));
--EXPECT--
bool(false)
--CREDITS--
Christian Weiske, cweiske@php.net
PHP Testfest Berlin 2009-05-09