mirror of
https://github.com/php/php-src.git
synced 2024-12-17 13:59:28 +08:00
cad66533f0
Closes GH-6684
30 lines
674 B
PHP
30 lines
674 B
PHP
<?php
|
|
|
|
/** @generate-class-entries */
|
|
|
|
class LibXMLError
|
|
{
|
|
public int $level;
|
|
public int $code;
|
|
public int $column;
|
|
public string $message;
|
|
public string $file;
|
|
public int $line;
|
|
}
|
|
|
|
/** @param resource $context */
|
|
function libxml_set_streams_context($context): void {}
|
|
|
|
function libxml_use_internal_errors(?bool $use_errors = null): bool {}
|
|
|
|
function libxml_get_last_error(): LibXMLError|false {}
|
|
|
|
function libxml_get_errors(): array {}
|
|
|
|
function libxml_clear_errors(): void {}
|
|
|
|
/** @deprecated */
|
|
function libxml_disable_entity_loader(bool $disable = true): bool {}
|
|
|
|
function libxml_set_external_entity_loader(?callable $resolver_function): bool {}
|