Skip to content

Commit 8fd0adf

Browse files
committed
xml_set_unparsed_entity_decl_handler stub
1 parent 9253b7d commit 8fd0adf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Peachpie.Library/Xml.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -907,18 +907,18 @@ public static bool xml_set_default_handler(PhpResource parser, PhpValue default_
907907
/// <param name="parser">
908908
/// A reference to the XML parser to set up unparsed entity declaration handler function.
909909
/// </param>
910-
/// <param name="unparsed_entity_decl_handler">
910+
/// <param name="hdl">
911911
/// String (or array) containing the name of a function that must exist when xml_parse() is
912912
/// called for parser.
913913
/// </param>
914914
/// <returns>Returns TRUE on success or FALSE on failure. </returns>
915-
public static bool SetUnparsedEntityDeclHandler(PhpResource parser, PhpValue unparsed_entity_decl_handler)
915+
public static bool xml_set_unparsed_entity_decl_handler(PhpResource parser, PhpValue hdl)
916916
{
917917
var xmlParser = XmlParserResource.ValidResource(parser);
918918
if (xmlParser == null)
919919
return false;
920920

921-
PhpException.FunctionNotSupported("xml_set_unparsed_entity_decl_handler");
921+
PhpException.FunctionNotSupported(nameof(xml_set_unparsed_entity_decl_handler));
922922
return false;
923923
}
924924

0 commit comments

Comments
 (0)