mirror of
https://github.com/php/php-src.git
synced 2026-04-11 18:13:00 +02:00
21 lines
608 B
PHP
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
|