Home
last modified time | relevance | path

Searched refs:registerPhpFunctions (Results 1 – 15 of 15) sorted by relevance

/php-src/ext/dom/tests/
H A DDOMXPath_callables_errors.phpt13 $xpath->registerPhpFunctions("nonexistent");
19 $xpath->registerPhpFunctions(function () {});
25 $xpath->registerPhpFunctions([function () {}]);
31 $xpath->registerPhpFunctions([var_dump(...)]);
37 $xpath->registerPhpFunctions(["nonexistent"]);
43 $xpath->registerPhpFunctions(["" => var_dump(...)]);
49 $xpath->registerPhpFunctions(["\0" => var_dump(...)]);
55 $xpath->registerPhpFunctions("");
63 DOMXPath::registerPhpFunctions(): Argument #1 ($restrict) must be of type array|string|null, Closur…
67 DOMXPath::registerPhpFunctions(): Argument #1 ($restrict) must be an array containing valid callbac…
[all …]
H A DDOMXPath_callables.phpt16 $this->registerPhpFunctions(["cycle" => array($this, "dummy")]);
47 $xpath->registerPhpFunctions([]);
51 $xpath->registerPhpFunctions(str_repeat("var_dump", mt_rand(1, 1) /* defeat SCCP */));
70 $xpath->registerPhpFunctions(null);
H A Ddomxpath.phpt61 $xpath->registerPhpFunctions(['non_existant']);
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 DDOMXPath_evaluate_node_set_to_string.phpt19 $xpath->registerPhpFunctions(['strrev']);
H A DDOMXPath_evaluate_namespace_node_set.phpt24 $xpath->registerPhpFunctions(['node_test']);
/php-src/ext/xsl/tests/
H A DXSLTProcessor_callables_errors.phpt2 registerPhpFunctions() with callables - error cases
12 $proc->registerPhpFunctions("nonexistent");
18 $proc->registerPhpFunctions(function () {});
24 $proc->registerPhpFunctions([function () {}]);
30 $proc->registerPhpFunctions([var_dump(...)]);
36 $proc->registerPhpFunctions(["nonexistent"]);
42 $proc->registerPhpFunctions(["" => var_dump(...)]);
48 $proc->registerPhpFunctions(["\0" => var_dump(...)]);
54 $proc->registerPhpFunctions("");
H A DXSLTProcessor_callables.phpt2 registerPhpFunctions() with callables - legit cases
31 $proc->registerPhpFunctions([]);
35 $proc->registerPhpFunctions(str_repeat("var_dump", mt_rand(1, 1) /* defeat SCCP */));
39 $proc->registerPhpFunctions([]);
H A Dbug33853.phpt27 $proc->registerPhpFunctions();
H A Dxpath_callables.inc12 $this->registerPhpFunctions(["cycle" => array($this, "dummy")]);
H A Dphp_function_edge_cases.phpt24 $proc->registerPhpFunctions();
H A Dthrow_in_autoload.phpt27 $proc->registerPhpFunctions();
/php-src/ext/dom/
H A Dxpath.c413 PHP_METHOD(DOMXPath, registerPhpFunctions) in PHP_METHOD() argument
H A Dphp_dom.stub.php1017 public function registerPhpFunctions(string|array|null $restrict = null): void {} function in DOMXPath
1656 public function registerPhpFunctions(string|array|null $restrict = null): void {} function in Dom\\XPath
H A Dphp_dom_arginfo.h1240 ZEND_METHOD(DOMXPath, registerPhpFunctions);
1546 …ZEND_ME(DOMXPath, registerPhpFunctions, arginfo_class_DOMXPath_registerPhpFunctions, ZEND_ACC_PUBL…
/php-src/
H A DUPGRADING215 . It is now possible to pass any callable to registerPhpFunctions().
296 . It is now possible to pass any callable to registerPhpFunctions().

Completed in 73 milliseconds