Skip to content

Commit 22b8ae2

Browse files
committed
xml_set_processing_instruction_handler
1 parent 5e8e0fa commit 22b8ae2

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

resources/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13334,7 +13334,7 @@
1333413334
'xml_set_external_entity_ref_handler' => ['bool', 'parser'=>'resource', 'hdl'=>'callable'],
1333513335
'xml_set_notation_decl_handler' => ['bool', 'parser'=>'resource', 'hdl'=>'callable'],
1333613336
'xml_set_object' => ['bool', 'parser'=>'resource', 'obj'=>'object'],
13337-
'xml_set_processing_instruction_handler' => ['bool', 'parser'=>'resource', 'hdl'=>'callable'],
13337+
'xml_set_processing_instruction_handler' => ['true', 'parser'=>'resource', 'hdl'=>'callable|string'],
1333813338
'xml_set_start_namespace_decl_handler' => ['true', 'parser'=>'resource', 'hdl'=>'callable|string'],
1333913339
'xml_set_unparsed_entity_decl_handler' => ['true', 'parser'=>'resource', 'hdl'=>'callable|string'],
1334013340
'XMLDiff\Base::__construct' => ['void', 'nsname'=>'string'],

resources/functionMap_php80delta.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
'xml_parser_free' => ['bool', 'parser'=>'XMLParser'],
124124
'xml_parser_get_option' => ['mixed|false', 'parser'=>'XMLParser', 'option'=>'int'],
125125
'xml_parser_set_option' => ['bool', 'parser'=>'XMLParser', 'option'=>'int', 'value'=>'mixed'],
126+
'xml_set_processing_instruction_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string'],
126127
'xml_set_start_namespace_decl_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string'],
127128
'xml_set_unparsed_entity_decl_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string'],
128129
'xmlwriter_end_attribute' => ['bool', 'xmlwriter'=>'XMLWriter'],
@@ -264,6 +265,7 @@
264265
'xml_parser_free' => ['bool', 'parser'=>'resource'],
265266
'xml_parser_get_option' => ['mixed|false', 'parser'=>'resource', 'option'=>'int'],
266267
'xml_parser_set_option' => ['bool', 'parser'=>'resource', 'option'=>'int', 'value'=>'mixed'],
268+
'xml_set_processing_instruction_handler' => ['true', 'parser'=>'resource', 'hdl'=>'callable|string'],
267269
'xml_set_start_namespace_decl_handler' => ['true', 'parser'=>'resource', 'hdl'=>'callable|string'],
268270
'xml_set_unparsed_entity_decl_handler' => ['true', 'parser'=>'resource', 'hdl'=>'callable|string'],
269271
'xmlwriter_end_attribute' => ['bool', 'xmlwriter'=>'resource'],

resources/functionMap_php84delta.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919
'http_clear_last_response_headers' => ['void'],
2020
'mb_lcfirst' => ['string', 'string'=>'string', 'encoding='=>'string'],
2121
'mb_ucfirst' => ['string', 'string'=>'string', 'encoding='=>'string'],
22-
'xml_set_start_namespace_decl_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string'],
23-
'xml_set_unparsed_entity_decl_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string'],
22+
'xml_set_processing_instruction_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string|null'],
23+
'xml_set_start_namespace_decl_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string|null'],
24+
'xml_set_unparsed_entity_decl_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string|null'],
2425
],
2526
'old' => [
26-
'xml_set_start_namespace_decl_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string|null'],
27-
'xml_set_start_namespace_decl_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string|null'],
27+
'xml_set_processing_instruction_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string'],
28+
'xml_set_start_namespace_decl_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string'],
29+
'xml_set_start_namespace_decl_handler' => ['true', 'parser'=>'XMLParser', 'hdl'=>'callable|string'],
2830
]
2931
];

0 commit comments

Comments
 (0)