1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 18:13:00 +02:00
Files
archived-php-src/ext/dom/xpath.stub.php
Máté Kocsis 305b17e85f Do not include the same stub multiple times
Closes GH-5322
2020-04-03 14:23:54 +02:00

21 lines
608 B
PHP

<?php
#if defined(LIBXML_XPATH_ENABLED)
class DOMXPath
{
public function __construct(DOMDocument $doc, bool $registerNodeNS = true) {}
/** @return mixed */
public function evaluate(string $expr, ?DOMNode $context = null, bool $registerNodeNS = true) {}
/** @return mixed */
public function query(string $expr, ?DOMNode $context = null, bool $registerNodeNS = true) {}
/** @return bool */
public function registerNamespace(string $prefix, string $namespaceURI) {}
/** @param string|array $restrict */
public function registerPhpFunctions($restrict = null) {}
}
#endif