1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 10:03:18 +02:00
Files
archived-php-src/ext/dom/xpath.stub.php
2020-04-03 17:59:30 +02:00

24 lines
645 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
* @return bool|null
*/
public function registerPhpFunctions($restrict = null) {}
}
#endif