1--TEST-- 2Check XSLTProcessor::hasExsltSupport() with 1 parameter 3--CREDITS-- 4Rodrigo Prado de Jesus <royopa [at] gmail [dot] com> 5--SKIPIF-- 6<?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 7--FILE-- 8<?php 9$proc = new XSLTProcessor(); 10try { 11 $proc->hasExsltSupport('stringValue'); 12} catch (ArgumentCountError $exception) { 13 echo $exception->getMessage() . "\n"; 14} 15?> 16--EXPECT-- 17XSLTProcessor::hasExsltSupport() expects exactly 0 arguments, 1 given 18