xml_set_processing_instruction_handler
symfony/var-dumper
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Set up processing instruction (PI) handler
<?php xml_set_processing_instruction_handler
(
XMLParser $parser
, callable
$handler
):
true