public function getAttributeNo(int $index) {}
/** @return string|null */
- public function getAttributeNs(string $name, string $uri) {}
+ public function getAttributeNs(string $name, string $namespace) {}
/** @return bool */
public function getParserProperty(int $property) {}
public function moveToAttributeNo(int $index) {}
/** @return bool */
- public function moveToAttributeNs(string $name, string $uri) {}
+ public function moveToAttributeNs(string $name, string $namespace) {}
/** @return bool */
public function moveToElement() {}
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: b5860285a7554c75780be7989bcbdeced6b557c8 */
+ * Stub hash: 0188a53f262d3f8e19b5b64d163bdee84f1be6b8 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLReader_close, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLReader_getAttributeNs, 0, 0, 2)
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLReader_getParserProperty, 0, 0, 1)
unlink(__DIR__.'/015-get-errors.xml');
?>
--EXPECT--
-XMLReader::getAttributeNs(): Argument #2 ($uri) cannot be empty
+XMLReader::getAttributeNs(): Argument #2 ($namespace) cannot be empty
ns1:num: 1
unlink(__DIR__.'/015-move-errors.xml');
?>
--EXPECT--
-XMLReader::moveToAttributeNs(): Argument #2 ($uri) cannot be empty
+XMLReader::moveToAttributeNs(): Argument #2 ($namespace) cannot be empty
function xmlwriter_write_attribute(XMLWriter $writer, string $name, string $value): bool {}
-function xmlwriter_start_attribute_ns(XMLWriter $writer, ?string $prefix, string $name, ?string $uri): bool {}
+function xmlwriter_start_attribute_ns(XMLWriter $writer, ?string $prefix, string $name, ?string $namespace): bool {}
-function xmlwriter_write_attribute_ns(XMLWriter $writer, ?string $prefix, string $name, ?string $uri, string $value): bool {}
+function xmlwriter_write_attribute_ns(XMLWriter $writer, ?string $prefix, string $name, ?string $namespace, string $value): bool {}
function xmlwriter_start_element(XMLWriter $writer, string $name): bool {}
function xmlwriter_full_end_element(XMLWriter $writer): bool {}
-function xmlwriter_start_element_ns(XMLWriter $writer, ?string $prefix, string $name, ?string $uri): bool {}
+function xmlwriter_start_element_ns(XMLWriter $writer, ?string $prefix, string $name, ?string $namespace): bool {}
function xmlwriter_write_element(XMLWriter $writer, string $name, ?string $content = null): bool {}
-function xmlwriter_write_element_ns(XMLWriter $writer, ?string $prefix, string $name, ?string $uri, ?string $content = null): bool {}
+function xmlwriter_write_element_ns(XMLWriter $writer, ?string $prefix, string $name, ?string $namespace, ?string $content = null): bool {}
function xmlwriter_start_pi(XMLWriter $writer, string $target): bool {}
public function writeAttribute(string $name, string $value): bool {}
/** @alias xmlwriter_start_attribute_ns */
- public function startAttributeNs(?string $prefix, string $name, ?string $uri): bool {}
+ public function startAttributeNs(?string $prefix, string $name, ?string $namespace): bool {}
/** @alias xmlwriter_write_attribute_ns */
- public function writeAttributeNs(?string $prefix, string $name, ?string $uri, string $value): bool {}
+ public function writeAttributeNs(?string $prefix, string $name, ?string $namespace, string $value): bool {}
/** @alias xmlwriter_start_element */
public function startElement(string $name): bool {}
public function fullEndElement(): bool {}
/** @alias xmlwriter_start_element_ns */
- public function startElementNs(?string $prefix, string $name, ?string $uri): bool {}
+ public function startElementNs(?string $prefix, string $name, ?string $namespace): bool {}
/** @alias xmlwriter_write_element */
public function writeElement(string $name, ?string $content = null): bool {}
/** @alias xmlwriter_write_element_ns */
- public function writeElementNs(?string $prefix, string $name, ?string $uri, ?string $content = null): bool {}
+ public function writeElementNs(?string $prefix, string $name, ?string $namespace, ?string $content = null): bool {}
/** @alias xmlwriter_start_pi */
public function startPi(string $target): bool {}
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: d265aff62d6dcd195c65e6205cc4cac063f5f237 */
+ * Stub hash: 891054e4aaf1d24b0965828de8287392b6a389a3 */
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_xmlwriter_open_uri, 0, 1, XMLWriter, MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_attribute_ns, 0, 5, _IS_BOOL, 0)
ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_startAttributeNs, 0, 3, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writeAttributeNs, 0, 4, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writeElementNs, 0, 3, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 1)
+ ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
class XSLTProcessor
{
- /** @return bool */
+ /**
+ * @param DOMDocument|SimpleXMLElement $stylesheet
+ * @return bool
+ */
public function importStylesheet(object $stylesheet) {}
/**
* @param DOMDocument|SimpleXMLElement $document
* @return DOMDocument|false
*/
- public function transformToDoc(object $document, ?string $return_class = null) {}
+ public function transformToDoc(object $document, ?string $returnClass = null) {}
/**
* @param DOMDocument|SimpleXMLElement $document
public function hasExsltSupport() {}
/** @return void */
- public function registerPHPFunctions(array|string|null $restrict = null) {}
+ public function registerPHPFunctions(array|string|null $functions = null) {}
/** @return bool */
public function setProfiling(?string $filename) {}
/** @return int */
- public function setSecurityPrefs(int $securityPrefs) {}
+ public function setSecurityPrefs(int $preferences) {}
/** @return int */
public function getSecurityPrefs() {}
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 4a3997bafb6c17714ee94443837be2d2842386e2 */
+ * Stub hash: a119247725ff61dbd615cb86ee6201ee6603ba51 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XSLTProcessor_importStylesheet, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, stylesheet, IS_OBJECT, 0)
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XSLTProcessor_transformToDoc, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, document, IS_OBJECT, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, return_class, IS_STRING, 1, "null")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, returnClass, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XSLTProcessor_transformToUri, 0, 0, 2)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XSLTProcessor_registerPHPFunctions, 0, 0, 0)
- ZEND_ARG_TYPE_MASK(0, restrict, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_NULL, "null")
+ ZEND_ARG_TYPE_MASK(0, functions, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_NULL, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XSLTProcessor_setProfiling, 0, 0, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XSLTProcessor_setSecurityPrefs, 0, 0, 1)
- ZEND_ARG_TYPE_INFO(0, securityPrefs, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, preferences, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_class_XSLTProcessor_getSecurityPrefs arginfo_class_XSLTProcessor_hasExsltSupport