Home
last modified time | relevance | path

Searched refs:nodes (Results 1 – 25 of 26) sorted by relevance

12

/PHP-5.3/ext/dom/tests/
H A DDOMNode_normalize_basic.phpt16 * Calculate the number of title text nodes (1).
18 * Normalize author. Calculate the number of title text nodes (2).
19 * Normalize title. Calculate the number of title text nodes (1).
36 echo "Number of child nodes of title = ";
49 echo "Number of child nodes of title after normalizing author = ";
53 // should concatenate first and second title text nodes
56 echo "Number of child nodes of title after normalizing title = ";
61 Number of child nodes of title = int(1)
62 Number of child nodes of title after adding second title = int(2)
63 Number of child nodes of title after normalizing author = int(2)
[all …]
H A DDOMNode_hasChildNodes_basic.phpt2 Test whether a node has child nodes: hasChildNodes()
15 * Check for child nodes of the <book>, <title> and This is the title
30 echo "Root has child nodes: ";
33 echo "Title has child nodes: ";
36 echo "Text has child nodes: ";
41 Root has child nodes: bool(true)
42 Title has child nodes: bool(true)
43 Text has child nodes: bool(false)
H A DDOMDocumentFragment_appendXML_hasChildNodes_basic.phpt11 echo "has child nodes\n";
13 echo "has no child nodes\n";
17 echo "has child nodes\n";
19 echo "has no child nodes\n";
22 has no child nodes
23 has child nodes
H A DDOMNode_hasChildNodes.phpt17 echo "Document has child nodes\n";
20 echo "Document has child nodes\n";
28 echo "Document has child nodes\n";
31 echo "Document with 2 child nodes\n";
39 Document has child nodes
41 Document has child nodes
46 Document has child nodes
48 Document with 2 child nodes
H A Dbug42082.phpt9 $nodes = $xpath->query('*');
10 echo get_class($nodes), "\n";
11 var_dump($nodes->length);
12 $length = $nodes->length;
13 var_dump(empty($nodes->length), empty($length));
H A Dbug43364.phpt2 Bug #43364 (recursive xincludes don't remove internal xml nodes properly)
7 function loopElements($nodes)
10 foreach($nodes as $node) {
H A DDOMNode_getLineNo_basic.phpt12 $nodes = $doc->getElementsByTagName('title');
13 foreach($nodes as $node) {
H A DDOMNode_getNodePath_basic.phpt12 $nodes = $doc->getElementsByTagName('title');
13 foreach($nodes as $node) {
H A DDOMNode_removeChild_basic.phpt42 echo "orignal has $len nodes\n";
53 echo "after text removed it now has $len nodes\n";
61 orignal has 5 nodes
90 after text removed it now has 2 nodes
H A Dbug41374.phpt2 Bug #41374 (wholetext concats values of wrong nodes)
H A DDOMDocument_validate_on_parse_variation.phpt44 Warning: DOMDocument::loadXML(): Element from was declared #PCDATA but contains non text nodes in E…
H A Ddomchardata.phpt22 $comment = new DOMComment('Testing character data and extending nodes');
H A DDOMNode_cloneNode_basic.phpt40 // strip all text nodes from this tree
H A Ddom001.phpt9 echo "Test 1: accessing single nodes from php\n";
101 Test 1: accessing single nodes from php
/PHP-5.3/ext/pdo_pgsql/tests/
H A Dbug43925.phpt15 @$dbh->query('DROP TABLE nodes');
18 CREATE TABLE nodes
26 $dbh->query('INSERT INTO nodes (id, root, lft, rgt) VALUES (1, 1, 1, 6);');
27 $dbh->query('INSERT INTO nodes (id, root, lft, rgt) VALUES (2, 1, 2, 3);');
28 $dbh->query('INSERT INTO nodes (id, root, lft, rgt) VALUES (3, 1, 4, 5);');
33 FROM nodes
53 $dbh->query('DROP TABLE nodes');
/PHP-5.3/ext/simplexml/tests/
H A Dbug48601.phpt10 $nodes = $sxe->xpath("/root/node2/@test");
12 if (! is_array($nodes)) {
15 echo "Result Count: " . count($nodes) . "\n";
H A Dbug46047.phpt2 Bug #46047 (SimpleXML converts empty nodes into object with nested array)
H A Dbug44478.phpt2 Bug #44478 (Inconsistent behaviour when assigning new nodes)
H A Dbug46003.phpt2 Bug #46003 (isset on nonexisting nodes return unexpected results)
/PHP-5.3/ext/simplexml/
H A DREADME11 all nodes with that element name. Thus method children() must be
17 check is needed to distinguish the number of nodes of that type.
/PHP-5.3/ext/ldap/tests/
H A DREADME9 $ openssl req -newkey rsa:1024 -x509 -nodes -out server.pem -keyout server.pem -days 3650
/PHP-5.3/ext/tidy/tests/
H A D010.phpt2 Accessing root, body, html, and head nodes..
H A D012.phpt2 Accessing children nodes
/PHP-5.3/ext/mbstring/oniguruma/
H A Dregcomp.c2013 Node** nodes = SCANENV_MEM_NODES(env); in get_min_match_length() local
2019 r = get_min_match_length(nodes[backs[0]], min, env); in get_min_match_length()
2023 r = get_min_match_length(nodes[backs[i]], &tmin, env); in get_min_match_length()
2180 Node** nodes = SCANENV_MEM_NODES(env); in get_max_match_length() local
2189 r = get_max_match_length(nodes[backs[i]], &tmax, env); in get_max_match_length()
3021 Node** nodes = SCANENV_MEM_NODES(env); in setup_subexp_call() local
3060 cn->target = nodes[cn->ref_num]; in setup_subexp_call()
3493 Node** nodes = SCANENV_MEM_NODES(env); in setup_tree() local
3505 SET_EFFECT_STATUS(nodes[p[i]], NST_MEM_BACKREFED); in setup_tree()
4527 Node** nodes = SCANENV_MEM_NODES(env->scan_env); in optimize_node_left() local
[all …]
/PHP-5.3/
H A DNEWS944 instead of false when no nodes are found as it was since 5.3.3
2337 - Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)
3680 - Fixed bug #46047 (SimpleXML converts empty nodes into object with
3886 - Fixed bug #44478 (Inconsistent behaviour when assigning new nodes). (Rob, Felipe)
3954 - Fixed bug #43364 (recursive xincludes don't remove internal xml nodes properly). (Rob, patch from…
4432 - Fixed bug #41374 (whole text concats values of wrong nodes). (Rob)
6782 - Fixed bug #31878 (Segmentation fault using clone keyword on nodes). (Rob)

Completed in 67 milliseconds

12