Home
last modified time | relevance | path

Searched refs:evaluate (Results 1 – 18 of 18) sorted by relevance

/php-src/ext/dom/tests/modern/xml/
H A DXMLDocument_xpath_errors.phpt2 Dom\XMLDocument interaction with XPath evaluate - errors
13 var_dump($xpath->evaluate('-'));
20 Warning: Dom\XPath::evaluate(): Invalid expression in %s on line %d
21 string(35) "Could not evaluate XPath expression"
H A DXMLDocument_xpath.phpt27 $result = $xpath->evaluate("//p");
31 var_dump($xpath->evaluate("string(//p)"));
32 var_dump($xpath->evaluate("string-length(//p)"));
33 var_dump($xpath->evaluate("boolean(//p)"));
47 var_dump($xpath->evaluate("//*/namespace::*"));
/php-src/ext/dom/tests/
H A DDOMXPath_callables.phpt32 $xpath->evaluate("//a[php:function('var_dump', string(@href))]");
40 $xpath->evaluate("//a[php:function('var_dump', string(@href))]");
41 $xpath->evaluate("//a[php:function('MyClass::dump', string(@href))]");
52 $xpath->evaluate("//a[php:function('mydump', string(@href))]");
53 $xpath->evaluate("//a[php:function('xyz', string(@href))]");
54 $xpath->evaluate("//a[php:function('var_dump', string(@href))]");
56 $xpath->evaluate("//a[php:function('notinset', string(@href))]");
66 $xpath->evaluate("//a[php:function('cycle', string(@href))]");
71 $xpath->evaluate("//a[php:function('var_dump', string(@href))]");
H A DDOMXPath_evaluate_node_set_to_string.phpt2 DOMXPath::evaluate() with PHP function passing node-set returning a string
20 var_dump($xpath->evaluate('php:functionString("strrev", //p)'));
21 var_dump($xpath->evaluate('php:functionString("strrev", //namespace::*)'));
H A DDOMXPath_evaluate_namespace_node_set.phpt2 DOMXPath::evaluate() with PHP function passing a namespace node-set
25 var_dump($xpath->evaluate('number(php:function("node_test", //namespace::*))'));
26 var_dump($xpath->evaluate('boolean(php:function("node_test", //namespace::*))'));
H A Dxpath_evaluate_basic_types.phpt11 var_dump($xpath->evaluate("count(//p) > 0"));
12 var_dump($xpath->evaluate("string(//p/@align)"));
H A Ddomxpath.phpt37 $count = $xpath->evaluate("count(//def:child)");
51 $avg = $xpath->evaluate('number(php:function("MyAverage", //def:testnode))');
56 $avg = $xpath->evaluate('number(php:function("non_existent", //def:testnode))');
62 $avg = $xpath->evaluate('number(php:function("non_existent", //def:testnode))');
H A Dxpath_context_node.phpt25 var_dump($xpath->evaluate("count(p)", $dom->documentElement->firstElementChild->nextElementSibling)…
/php-src/Zend/tests/
H A Dbug43703.phpt11 abstract public function evaluate(JoinPoint $joinPoint);
16 public function evaluate(Joinpoint $joinPoint)
H A Dassign_coalesce_007.phpt2 Assign coalesce: "$a[0] ??= $a" should evaluate the right $a first
H A Dbug26802.phpt25 * call foo::fail. In PHP 5 we first evaluate static class
/php-src/ext/opcache/tests/jit/
H A Dsend_var_ex_001.phpt16 public function evaluate() {
26 $a->evaluate();
/php-src/ext/opcache/tests/
H A Dbug66440.phpt2 Bug #66440 (Optimisation of conditional JMPs based on pre-evaluate constant function calls)
/php-src/Zend/tests/traits/
H A Derror_010.phpt23 Fatal error: Failed to evaluate a trait precedence (test). Method of trait foo was defined to be ex…
/php-src/ext/reflection/tests/internal_parameter_default_value/
H A Dcheck_all.phpt2 Check that all internal parameter defaults evaluate without error
/php-src/ext/dom/
H A Dxpath.c414 PHP_METHOD(DOMXPath, evaluate) in PHP_METHOD() argument
419 PHP_METHOD(Dom_XPath, evaluate) in PHP_METHOD() argument
H A Dphp_dom.stub.php1220 …public function evaluate(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = … function in DOMXPath
2157 …public function evaluate(string $expression, ?Node $contextNode = null, bool $registerNodeNS = tru… function in Dom\\XPath
H A Dphp_dom_arginfo.h1253 ZEND_METHOD(DOMXPath, evaluate);
1327 ZEND_METHOD(Dom_XPath, evaluate);
1544 ZEND_ME(DOMXPath, evaluate, arginfo_class_DOMXPath_evaluate, ZEND_ACC_PUBLIC)
1800 ZEND_ME(Dom_XPath, evaluate, arginfo_class_Dom_XPath_evaluate, ZEND_ACC_PUBLIC)

Completed in 42 milliseconds