/php-src/ext/dom/tests/modern/spec/ |
H A D | serialize_element_unqualified.phpt | 8 … Dom\XMLDocument::createFromString('<root xmlns:p1="u1"><child xmlns:p2="u1"><p1:child2/></child><… 11 $dom = Dom\XMLDocument::createFromString('<root xmlns:p1="u1"><child xmlns:p2="u1"></child></root>'… 20 <root xmlns:p1="u1"><child xmlns:p2="u1"><p1:child2/></child></root> 22 <root xmlns:p1="u1"><child xmlns:p2="u1"><p2:child2/></child></root>
|
H A D | default_namespace_move.phpt | 10 $child = $root->appendChild($dom->createElementNS('urn:a', 'foo:baz')); 11 $child->setAttributeNS("urn:b", "foo:attr", "value"); 13 $dom->appendChild($child); 17 $child = $dom2->importNode($child, true); 18 $dom2->appendChild($child);
|
H A D | xml_serialize_LIBXML_NOEMPTYTAG.phpt | 8 $doc = Dom\XMLDocument::createFromString('<root><child/><br xmlns="http://www.w3.org/1999/xhtml"/><… 17 <root><child></child><br xmlns="http://www.w3.org/1999/xhtml"></br></root> 20 <child></child>
|
H A D | Document_importLegacyNode.phpt | 11 <child xmlns="urn:a" a="b"/> 12 <child xmlns="urn:b" xmlns:c="urn:c" c:c="d"/> 24 foreach ($new->getElementsByTagName('child') as $child) { 25 var_dump($child->attributes); 26 foreach ($child->attributes as $attr) { 65 <child xmlns="urn:a" a="b"/> 66 <child xmlns="urn:b" xmlns:c="urn:c" c:c="d"/>
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 39 int callers_limit = child->wp->config->request_slowlog_trace_depth; in fpm_php_trace_dump() 40 pid_t pid = child->pid; in fpm_php_trace_dump() 190 void fpm_php_trace(struct fpm_child_s *child) /* {{{ */ in fpm_php_trace() argument 195 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid); in fpm_php_trace() 197 slowlog = fopen(child->wp->config->slowlog, "a+"); in fpm_php_trace() 204 if (0 > fpm_trace_ready(child->pid)) { in fpm_php_trace() 208 if (0 > fpm_php_trace_dump(child, slowlog)) { in fpm_php_trace() 212 if (0 > fpm_trace_close(child->pid)) { in fpm_php_trace() 220 fpm_pctl_kill(child->pid, FPM_PCTL_CONT); in fpm_php_trace() 221 child->tracer = 0; in fpm_php_trace() [all …]
|
H A D | fpm_request.c | 229 proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1); in fpm_request_check_timed_out() 239 if (child->slow_logged.tv_sec) { in fpm_request_check_timed_out() 240 …if (child->slow_logged.tv_sec != proc.accepted.tv_sec || child->slow_logged.tv_usec != proc.accept… in fpm_request_check_timed_out() 241 child->slow_logged.tv_sec = 0; in fpm_request_check_timed_out() 242 child->slow_logged.tv_usec = 0; in fpm_request_check_timed_out() 259 child->slow_logged = proc.accepted; in fpm_request_check_timed_out() 260 child->tracer = fpm_php_trace; in fpm_request_check_timed_out() 262 fpm_trace_signal(child->pid); in fpm_request_check_timed_out() 265 …child->wp->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.req… in fpm_request_check_timed_out() 273 fpm_pctl_kill(child->pid, FPM_PCTL_TERM); in fpm_request_check_timed_out() [all …]
|
H A D | fpm_stdio.h | 14 int fpm_stdio_prepare_pipes(struct fpm_child_s *child); 15 void fpm_stdio_child_use_pipes(struct fpm_child_s *child); 16 int fpm_stdio_parent_use_pipes(struct fpm_child_s *child); 17 int fpm_stdio_discard_pipes(struct fpm_child_s *child);
|
/php-src/ext/soap/tests/interop/Round3/GroupE/ |
H A D | r3_groupE_list_006w.phpt | 10 function __construct(public $varString, public $varInt, public $child) {} 13 $struct->child->child->child = $struct->child; 23 …child id="ref1" xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:… 25 …child id="ref1" xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:… 31 ["child"]=> 37 ["child"]=> 43 ["child"]=>
|
H A D | r3_groupE_list_005w.phpt | 10 function __construct(public $varString, public $varInt, public $child) {} 13 $struct->child->child->child = $struct; 23 …child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar… 25 …child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar… 31 ["child"]=> 37 ["child"]=> 43 ["child"]=>
|
H A D | r3_groupE_list_003w.phpt | 10 function __construct(public $varString, public $varInt, public $child) {} 22 …child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar… 24 …child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar… 30 ["child"]=> 36 ["child"]=> 42 ["child"]=>
|
/php-src/ext/dom/tests/ |
H A D | DOMNode_hasChildNodes_basic.phpt | 2 Test whether a node has child nodes: hasChildNodes() 13 * Check for child nodes of the <book>, <title> and This is the title 28 echo "Root has child nodes: "; 31 echo "Title has child nodes: "; 34 echo "Text has child nodes: "; 39 Root has child nodes: bool(true) 40 Title has child nodes: bool(true) 41 Text has child nodes: bool(false)
|
H A D | DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt | 11 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"; 23 has no child nodes 24 has child nodes
|
H A D | DOMNode_hasChildNodes.phpt | 17 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 D | gh11906.phpt | 11 <child/> 16 $child = $container->firstElementChild; 19 $test->append($child); 24 $test->prepend($child); 29 $test->append($child); 38 <foo><child/></foo> 45 <foo><child/></foo>
|
H A D | DOMChildNode_methods_without_parent.phpt | 11 <child/> 16 $child = $container->firstElementChild; 21 $test->$method($child); 30 <child/> 36 <child/> 42 <child/>
|
H A D | DOMNode_replaceChild_basic.phpt | 2 Replacing a child node 14 // Replaces the child node oldChild with newChild in the list of children, and 19 echo "New child replaces old child:\n" . $document->saveXML(); 20 echo "Old child is returned:\n" . $old_child->tagName . "\n"; 25 echo "Existing child is removed from tree:\n" . $document->saveXML(); 34 New child replaces old child: 37 Old child is returned: 39 Existing child is removed from tree:
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 591 child->child = NULL; 622 child = element->child; 629 child->child = NULL; 630 element->child = child; 705 child = child->child; 764 child = child->child; 842 child = child->child; 876 child = child->child; 880 child->child = NULL; 906 child = child->child; [all …]
|
/php-src/ext/dom/parentnode/ |
H A D | tree.c | 127 last->next = child; in dom_add_child_without_merging() 128 child->prev = last; in dom_add_child_without_merging() 130 parent->last = child; in dom_add_child_without_merging() 131 child->parent = parent; in dom_add_child_without_merging() 187 …if (child != NULL && (child->type == XML_DTD_NODE || php_dom_has_sibling_following_node(child, XML… in php_dom_fragment_insertion_hierarchy_check_pre_insertion() 251 if (child != NULL && child->parent != parentNode) { in dom_is_pre_insert_valid_without_step_1() 302 …if (child != NULL && (child->type == XML_DTD_NODE || php_dom_has_sibling_following_node(child, XML… in dom_is_pre_insert_valid_without_step_1() 331 for (xmlNodePtr child = node->children; child != NULL; child = next) { in dom_free_node_after_zval_single_node_creation() local 332 next = child->next; in dom_free_node_after_zval_single_node_creation() 335 xmlFreeNode(child); in dom_free_node_after_zval_single_node_creation() [all …]
|
/php-src/ext/intl/resourcebundle/ |
H A D | resourcebundle.c | 36 restype = ures_getType( source->child ); in resourcebundle_extract_value() 40 ufield = ures_getString( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value() 46 bfield = ures_getBinary( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value() 52 lfield = ures_getInt( source->child, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value() 58 vfield = ures_getIntVector( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value() 70 newrb->me = source->child; in resourcebundle_extract_value() 71 source->child = NULL; in resourcebundle_extract_value()
|
/php-src/ext/tidy/tests/ |
H A D | 012.phpt | 55 ["child"]=> 76 ["child"]=> 100 ["child"]=> 128 ["child"]=> 148 ["child"]=> 279 ["child"]=> 322 ["child"]=> 342 ["child"]=> 428 ["child"]=> 448 ["child"]=> [all …]
|
H A D | sibling_nodes.phpt | 25 foreach ($body->child as $i => $child) { 26 echo "=== From the perspective of child $i ===\n"; 28 var_dump(format($child->getPreviousSibling()?->value)); 30 var_dump(format($child->getNextSibling()?->value)); 41 === From the perspective of child 0 === 44 === From the perspective of child 1 === 47 === From the perspective of child 2 ===
|
/php-src/ext/dom/tests/modern/common/ |
H A D | namespace_sxe_interaction.phpt | 13 $sxe->addChild('b:child', 'value', 'urn:b'); 15 $dom->documentElement->firstElementChild->appendChild($dom->createElementNS('urn:c', 'c:child')); 56 <root xmlns:a="urn:a" a:attr="value"><b:child xmlns:b="urn:b">value<c:child xmlns:c="urn:c"/></b:ch… 59 <root xmlns:a="urn:a" a:attr="value"><b:child xmlns:b="urn:b">value<c:child xmlns:c="urn:c"/></b:ch… 63 <root xmlns:a="urn:a" a:attr="value"><b:child xmlns:b="urn:b">value<c:child xmlns:c="urn:c"/></b:ch… 67 <root xmlns:a="urn:a" a:attr="value"><b:child xmlns:b="urn:b">value<c:child xmlns:c="urn:c"/></b:ch…
|
/php-src/ext/dom/tests/delayed_freeing/ |
H A D | namespace_definition_crash_in_attribute.phpt | 9 $child = $doc->documentElement->appendChild($doc->createElementNS('some:ns', 'child')); 10 $child_attr1 = $child->appendChild($doc->createAttributeNS('some:ns2', 'hello')); 12 $child_attr2 = $child->appendChild($doc->createAttribute('hello2')); 14 $attr3 = $child->appendChild($doc->createElementNS('some:ns', 'childcontainer')) 19 $child->remove(); 22 unset($child); 42 …ns:default1="some:ns"><child xmlns="some:ns" default:hello="hello content 2" hello2=""><childconta…
|
/php-src/ext/dom/tests/modern/css_selectors/ |
H A D | pseudo_classes_first_last_child.phpt | 2 CSS Selectors - Pseudo classes: first/last child 21 test_helper($dom, 'container > *:first-child'); 22 test_helper($dom, 'container > *:last-child'); 26 --- Selector: container > *:first-child --- 28 --- Selector: container > *:last-child ---
|
/php-src/ext/standard/tests/array/ |
H A D | array_map_object3.phpt | 7 * 1) child class method using parent object 8 * 2) parent class method using child object 9 * 3) child class method using parent class 10 * 4) parent class method using child class 45 echo "-- accessing parent method from child class --\n"; 48 echo "-- accessing child method from parent class --\n"; 55 echo "-- accessing parent method using child class object --\n"; 69 -- accessing parent method from child class -- 78 -- accessing child method from parent class -- 80 -- accessing parent method using child class object -- [all …]
|