mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix XmlParser classname in stubs
This commit is contained in:
parent
4173f2b3ab
commit
686d6c3dd4
3 changed files with 4 additions and 4 deletions
|
@ -254,7 +254,7 @@ static void php_xml_free_wrapper(void *ptr)
|
|||
PHP_MINIT_FUNCTION(xml)
|
||||
{
|
||||
zend_class_entry ce;
|
||||
INIT_CLASS_ENTRY(ce, "XmlParser", class_XMLParser_methods);
|
||||
INIT_CLASS_ENTRY(ce, "XmlParser", class_XmlParser_methods);
|
||||
xml_parser_ce = zend_register_internal_class(&ce);
|
||||
xml_parser_ce->create_object = xml_parser_create_object;
|
||||
xml_parser_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NO_DYNAMIC_PROPERTIES;
|
||||
|
|
|
@ -63,6 +63,6 @@ function xml_parser_set_option(XmlParser $parser, int $option, $value): bool {}
|
|||
|
||||
function xml_parser_get_option(XmlParser $parser, int $option): string|int {}
|
||||
|
||||
final class XMLParser
|
||||
final class XmlParser
|
||||
{
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 591ba6543081654cbf55945d2a446e7039a81372 */
|
||||
* Stub hash: 7014b171486b2a597f659369a707a592c26b3b2f */
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_xml_parser_create, 0, 0, XmlParser, 0)
|
||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
|
||||
|
@ -134,6 +134,6 @@ static const zend_function_entry ext_functions[] = {
|
|||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_XMLParser_methods[] = {
|
||||
static const zend_function_entry class_XmlParser_methods[] = {
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue