mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
39131219e8
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
18 lines
412 B
PHP
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
|