Skip to content

Commit a3755ee

Browse files
committed
xml_parser_get_option
1 parent 5c70f03 commit a3755ee

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

resources/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13325,7 +13325,7 @@
1332513325
'xml_parser_create' => ['resource', 'encoding='=>'string'],
1332613326
'xml_parser_create_ns' => ['resource', 'encoding='=>'string', 'sep='=>'string'],
1332713327
'xml_parser_free' => ['bool', 'parser'=>'resource'],
13328-
'xml_parser_get_option' => ['mixed', 'parser'=>'resource', 'option'=>'int'],
13328+
'xml_parser_get_option' => ['string|int|false', 'parser'=>'resource', 'option'=>'int'],
1332913329
'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'],

resources/functionMap_php80delta.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
'xml_parser_create' => ['XMLParser', 'encoding='=>'string'],
122122
'xml_parser_create_ns' => ['XMLParser', 'encoding='=>'string', 'sep='=>'string'],
123123
'xml_parser_free' => ['bool', 'parser'=>'XMLParser'],
124-
'xml_parser_get_option' => ['mixed|false', 'parser'=>'XMLParser', 'option'=>'int'],
124+
'xml_parser_get_option' => ['string|int', 'parser'=>'XMLParser', 'option'=>'int'],
125125
'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'],
@@ -270,7 +270,7 @@
270270
'xml_parser_create' => ['resource', 'encoding='=>'string'],
271271
'xml_parser_create_ns' => ['resource', 'encoding='=>'string', 'sep='=>'string'],
272272
'xml_parser_free' => ['bool', 'parser'=>'resource'],
273-
'xml_parser_get_option' => ['mixed|false', 'parser'=>'resource', 'option'=>'int'],
273+
'xml_parser_get_option' => ['string|int|false', 'parser'=>'resource', 'option'=>'int'],
274274
'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'],

resources/functionMap_php83delta.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@
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_get_option' => ['string|int|bool', 'parser'=>'resource', 'option'=>'int'],
3031
'xml_parser_set_option' => ['bool', 'parser'=>'XMLParser', 'option'=>'int', 'value'=>'string|int|bool'],
3132
],
3233
'old' => [
34+
'xml_parser_get_option' => ['string|int', 'parser'=>'resource', 'option'=>'int'],
3335
'xml_parser_set_option' => ['bool', 'parser'=>'XMLParser', 'option'=>'int', 'value'=>'string|int'],
3436
]
3537
];

0 commit comments

Comments
 (0)