1<?php 2 3/** @generate-class-entries */ 4 5class LibXMLError 6{ 7 public int $level; 8 public int $code; 9 public int $column; 10 public string $message; 11 public string $file; 12 public int $line; 13} 14 15/** @param resource $context */ 16function libxml_set_streams_context($context): void {} 17 18function libxml_use_internal_errors(?bool $use_errors = null): bool {} 19 20function libxml_get_last_error(): LibXMLError|false {} 21 22/** @return array<int, LibXMLError> */ 23function libxml_get_errors(): array {} 24 25function libxml_clear_errors(): void {} 26 27/** @deprecated */ 28function libxml_disable_entity_loader(bool $disable = true): bool {} 29 30function libxml_set_external_entity_loader(?callable $resolver_function): bool {} 31