1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Files
archived-php-src/ext/xsl/tests/xsltprocessor_hasExsltSupport_wrongparam_001.phpt
T
Nikita Popov 39131219e8 Migrate more SKIPIF -> EXTENSIONS (#7139)
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
2021-06-11 12:58:44 +02:00

18 lines
412 B
PHP

--TEST--
Check XSLTProcessor::hasExsltSupport() with 1 parameter
--CREDITS--
Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
--EXTENSIONS--
xsl
--FILE--
<?php
$proc = new XSLTProcessor();
try {
$proc->hasExsltSupport('stringValue');
} catch (ArgumentCountError $exception) {
echo $exception->getMessage() . "\n";
}
?>
--EXPECT--
XSLTProcessor::hasExsltSupport() expects exactly 0 arguments, 1 given