Skip to content

Commit 5c70f03

Browse files
committed
xml_parser_set_option
1 parent ebbc823 commit 5c70f03

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

resources/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13326,7 +13326,7 @@
1332613326
'xml_parser_create_ns' => ['resource', 'encoding='=>'string', 'sep='=>'string'],
1332713327
'xml_parser_free' => ['bool', 'parser'=>'resource'],
1332813328
'xml_parser_get_option' => ['mixed', 'parser'=>'resource', 'option'=>'int'],
13329-
'xml_parser_set_option' => ['bool', 'parser'=>'resource', 'option'=>'int', 'value'=>'mixed'],
13329+
'xml_parser_set_option' => ['bool', 'parser'=>'resource', 'option'=>'int', 'value'=>'string|int'],
1333013330
'xml_set_character_data_handler' => ['true', 'parser'=>'resource', 'hdl'=>'callable|string'],
1333113331
'xml_set_default_handler' => ['true', 'parser'=>'resource', 'hdl'=>'callable|string'],
1333213332
'xml_set_element_handler' => ['true', 'parser'=>'resource', 'shdl'=>'callable|string', 'ehdl'=>'callable|string'],

resources/functionMap_php80delta.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
'xml_parser_create_ns' => ['XMLParser', 'encoding='=>'string', 'sep='=>'string'],
123123
'xml_parser_free' => ['bool', 'parser'=>'XMLParser'],
124124
'xml_parser_get_option' => ['mixed|false', 'parser'=>'XMLParser', 'option'=>'int'],
125-
'xml_parser_set_option' => ['bool', 'parser'=>'XMLParser', 'option'=>'int', 'value'=>'mixed'],
125+
'xml_parser_set_option' => ['bool', 'parser'=>'XMLParser', 'option'=>'int', 'value'=>'string|int'],
126126
'xml_set_character_data_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string'],
127127
'xml_set_default_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string'],
128128
'xml_set_element_handler' => ['true', 'parser'=>'XMLParser', 'shdl'=>'callable|string', 'ehdl'=>'callable|string'],
@@ -271,7 +271,7 @@
271271
'xml_parser_create_ns' => ['resource', 'encoding='=>'string', 'sep='=>'string'],
272272
'xml_parser_free' => ['bool', 'parser'=>'resource'],
273273
'xml_parser_get_option' => ['mixed|false', 'parser'=>'resource', 'option'=>'int'],
274-
'xml_parser_set_option' => ['bool', 'parser'=>'resource', 'option'=>'int', 'value'=>'mixed'],
274+
'xml_parser_set_option' => ['bool', 'parser'=>'resource', 'option'=>'int', 'value'=>'string|int'],
275275
'xml_set_character_data_handler' => ['true', 'parser'=>'resource', 'hdl'=>'callable|string'],
276276
'xml_set_default_handler' => ['true', 'parser'=>'resource', 'hdl'=>'callable|string'],
277277
'xml_set_element_handler' => ['true', 'parser'=>'resource', 'shdl'=>'callable|string', 'ehdl'=>'callable|string'],

resources/functionMap_php83delta.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
'str_increment' => ['non-falsy-string', 'string'=>'non-empty-string'],
2828
'gc_status' => ['array{running:bool,protected:bool,full:bool,runs:int,collected:int,threshold:int,buffer_size:int,roots:int,application_time:float,collector_time:float,destructor_time:float,free_time:float}'],
2929
'stream_get_meta_data' => ['array{timed_out:bool,blocked:bool,eof:bool,unread_bytes:int,stream_type:string,wrapper_type:string,wrapper_data:mixed,mode:string,seekable:bool,uri:string,mediatype?:string,base64?:bool}', 'fp'=>'resource'],
30+
'xml_parser_set_option' => ['bool', 'parser'=>'XMLParser', 'option'=>'int', 'value'=>'string|int|bool'],
3031
],
3132
'old' => [
32-
33+
'xml_parser_set_option' => ['bool', 'parser'=>'XMLParser', 'option'=>'int', 'value'=>'string|int'],
3334
]
3435
];

0 commit comments

Comments
 (0)