/
vshmidt
/
php
Обзор
Документация
Войти
/
vshmidt
/
php
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ext/simplexml/simplexml.stub.php
83 строки
3 KB
Niels Dossche
Merge branch 'PHP-8.3' into PHP-8.4
12 окт 2025, 12:25
Не верифицирован
12 окт 2025, 12:25
aa1585f
Код
Авторство
О чём код?
<?php /** @generate-class-entries */ function simplexml_load_file(string $filename, ?string $class_name = SimpleXMLElement::class, int $options = 0, string $namespace_or_prefix = "", bool $is_prefix = false): SimpleXMLElement|false {} function simplexml_load_string(string $data, ?string $class_name = SimpleXMLElement::class, int $options = 0, string $namespace_or_prefix = "", bool $is_prefix = false): SimpleXMLElement|false {} function simplexml_import_dom(object $node, ?string $class_name = SimpleXMLElement::class): ?SimpleXMLElement {} /** @not-serializable */ class SimpleXMLElement implements Stringable, Countable, RecursiveIterator { /** @tentative-return-type */ public function xpath(string $expression): array|null|false {} /** @tentative-return-type */ public function registerXPathNamespace(string $prefix, string $namespace): bool {} /** @tentative-return-type */ public function asXML(?string $filename = null): string|bool {} /** * @tentative-return-type * @alias SimpleXMLElement::asXML */ public function saveXML(?string $filename = null): string|bool {} /** @tentative-return-type */ public function getNamespaces(bool $recursive = false): array {} /** @tentative-return-type */ public function getDocNamespaces(bool $recursive = false, bool $fromRoot = true): array|false {} /** @tentative-return-type */ public function children(?string $namespaceOrPrefix = null, bool $isPrefix = false): ?SimpleXMLElement {} /** @tentative-return-type */ public function attributes(?string $namespaceOrPrefix = null, bool $isPrefix = false): ?SimpleXMLElement {} public function __construct(string $data, int $options = 0, bool $dataIsURL = false, string $namespaceOrPrefix = "", bool $isPrefix = false) {} /** @tentative-return-type */ public function addChild(string $qualifiedName, ?string $value = null, ?string $namespace = null): ?SimpleXMLElement {} /** @tentative-return-type */ public function addAttribute(string $qualifiedName, string $value, ?string $namespace = null): void {} /** @tentative-return-type */ public function getName(): string {} public function __toString(): string {} public function __debugInfo(): ?array {} /** @tentative-return-type */ public function count(): int {} /** @tentative-return-type */ public function rewind(): void {} /** @tentative-return-type */ public function valid(): bool {} /** @tentative-return-type */ public function current(): SimpleXMLElement {} /** @tentative-return-type */ public function key(): string {} /** @tentative-return-type */ public function next(): void {} /** @tentative-return-type */ public function hasChildren(): bool {} /** @tentative-return-type */ public function getChildren(): ?SimpleXMLElement {} } class SimpleXMLIterator extends SimpleXMLElement { }