Home
last modified time | relevance | path

Searched refs:DOMXPath (Results 1 – 25 of 38) sorted by relevance

12

/php-src/ext/dom/tests/
H A DDOMXPath_clone.phpt2 DOMXPath: Cloning a DOMXPath object
7 if (!class_exists('DOMXPath')) die('skip no xpath support');
13 $xpath = new DOMXPath($dom);
22 Trying to clone an uncloneable object of class DOMXPath
H A DregisterPhpFunctionNS_errors.phpt16 $xpath = new DOMXPath($doc);
56 DOMXPath::registerPhpFunctionNS(): Argument #1 ($namespaceURI) must not be "http://php.net/xpath" b…
57 DOMXPath::registerPhpFunctionNS(): Argument #1 ($namespaceURI) must not be "http://php.net/xpath" b…
58 DOMXPath::registerPhpFunctionNS(): Argument #2 ($name) must be a valid callback name
59 DOMXPath::registerPhpFunctionNS(): Argument #2 ($name) must be a valid callback name
60 DOMXPath::registerPhpFunctionNS(): Argument #2 ($name) must not contain any null bytes
61 DOMXPath::registerPhpFunctionNS(): Argument #1 ($namespaceURI) must not contain any null bytes
H A DDOMXPath_callables_errors.phpt11 $xpath = new DOMXPath($doc);
62 DOMXPath::registerPhpFunctions(): Argument #1 ($restrict) must be a callable, function "nonexistent…
63 DOMXPath::registerPhpFunctions(): Argument #1 ($restrict) must be of type array|string|null, Closur…
66 DOMXPath::registerPhpFunctions(): Argument #1 ($restrict) must be an array with valid callbacks as …
67 DOMXPath::registerPhpFunctions(): Argument #1 ($restrict) must be an array containing valid callbac…
68 DOMXPath::registerPhpFunctions(): Argument #1 ($restrict) must be an array containing valid callbac…
69 DOMXPath::registerPhpFunctions(): Argument #1 ($restrict) must be a valid callback name
H A Dbug55700.phpt10 $xp = new DOMXPath($doc, true);
15 $xp = new DOMXPath($doc, false);
35 object(DOMXPath)#4 (2) {
H A DDOMXPath_constructor_registered_functions.phpt2 DOMXPath: Calling __construct() again when functions were already registered
7 if (!class_exists('DOMXPath')) die('skip no xpath support');
27 $xpath = new DOMXPath($dom);
H A Dgh13960.phpt9 $xp = new DOMXPath($domd);
17 DOMXPath::quote(): Argument #1 ($str) must not contain any null bytes
H A Ddomxpath.phpt2 DOMXPath Tests
26 $xpath = new DOMXPath($dom);
72 DOMXPath::registerPhpFunctions(): Argument #1 ($restrict) must be a callable, function "non_existen…
73 DOMXPath::registerPhpFunctions(): Argument #1 ($restrict) must be an array with valid callbacks as …
H A Dgh16316.phpt2 GH-16316 (DOMXPath breaks when not initialized properly)
8 class Demo extends DOMXPath {
H A DDOMXPath_evaluate_node_set_to_string.phpt2 DOMXPath::evaluate() with PHP function passing node-set returning a string
16 $xpath = new DOMXPath($dom);
H A Dnot_unserializable.phpt9 "DOMXPath",
26 Unserialization of 'DOMXPath' is not allowed
H A DDOMXPath_evaluate_namespace_node_set.phpt2 DOMXPath::evaluate() with PHP function passing a namespace node-set
16 $xpath = new DOMXPath($dom);
H A Dxpath_domnamespacenode.phpt2 DOMXPath::query() can return DOMNodeList with DOMNameSpaceNode items
14 $xpath = new DOMXPath($doc);
H A DDOMXPath_quote.phpt2 Test DOMXPath::quote with various inputs
6 <?php if (!class_exists('DOMXPath')) die('skip DOMXPath not available.'); ?>
10 $xpath = new DOMXPath($dom);
H A DDOMXPath_callables.phpt14 class MyDOMXPath extends DOMXPath {
29 $xpath = new DOMXPath($doc);
45 $xpath = new DOMXPath($doc);
H A Dnot_serializable.phpt23 $xpath = new DOMXPath($doc);
54 Serialization of 'DOMXPath' is not allowed
H A Dbug49490.phpt10 $xp = new DOMXPath($doc);
H A Dbug45251.phpt16 $xpath = new DOMXPath($doc);
H A Dxpath_domnamespacenode_advanced.phpt2 DOMXPath::query() can return DOMNodeList with DOMNameSpaceNode items - advanced variation
15 $xpath = new DOMXPath($dom);
H A Dbug42082.phpt8 $xpath = new DOMXPath($doc);
H A Dgh9142.phpt12 foreach ((new DOMXPath($dom))->query('//var') as $var) {
H A Dgh12616_2.phpt20 $xpath = new DOMXPath($doc);
/php-src/ext/dom/
H A Dxpath.c160 PHP_METHOD(DOMXPath, __construct) in PHP_METHOD() argument
212 PHP_METHOD(DOMXPath, registerNamespace) in PHP_METHOD() argument
402 PHP_METHOD(DOMXPath, query) in PHP_METHOD() argument
414 PHP_METHOD(DOMXPath, evaluate) in PHP_METHOD() argument
426 PHP_METHOD(DOMXPath, registerPhpFunctions) in PHP_METHOD() argument
455 PHP_METHOD(DOMXPath, registerPhpFunctionNS) in PHP_METHOD() argument
489 PHP_METHOD(DOMXPath, quote) { in PHP_METHOD() argument
/php-src/ext/spl/tests/
H A Dbug54971.phpt19 $xpath = new DOMXPath($doc);
/php-src/ext/dom/tests/compareDocumentPosition/
H A Dequal.phpt17 $xpath = new DOMXPath($dom);
H A Dcontains_element_longer_descendent.phpt21 $xpath = new DOMXPath($dom);

Completed in 47 milliseconds

12