/php-src/ext/dom/tests/delayed_freeing/ |
H A D | gh9628_1.phpt | 8 <p xmlns="some:ns"> 39 string(7) "some:ns" 41 string(7) "some:ns" 43 <span xmlns:test="some:ns2" xmlns="some:ns" id="1"> 46 <default:span xmlns:default="some:ns" xmlns:test="some:ns2" id="2">Test <test:test/></default:span> 48 string(7) "some:ns"
|
H A D | namespace_definition_crash.phpt | 9 $child = $doc->documentElement->appendChild($doc->createElementNS('some:ns', 'child')); 10 $child_child = $child->appendChild($doc->createElementNS('some:ns', 'x')); 22 <container><child xmlns="some:ns"><x/></child></container> 25 string(7) "some:ns"
|
/php-src/Zend/tests/ |
H A D | bug62441.phpt | 10 namespace ns { 19 …ould not check compatibility between ns\Foo::method(ns\stdClass $o) and Iface::method(stdClass $o)…
|
/php-src/ext/simplexml/tests/ |
H A D | profile10.phpt | 9 <root xmlns:reserved="reserved-ns" xmlns:special="special-ns"> 14 $rsattr = $root->child->attributes('reserved-ns'); 15 $spattr = $root->child->attributes('special-ns');
|
H A D | profile04.phpt | 8 <root xmlns:reserved="reserved-ns"> 13 echo $root->children('reserved-ns')->child;
|
/php-src/ext/dom/tests/ |
H A D | clone_attribute_namespace_02.phpt | 11 <container xmlns:foo="some:ns" foo:bar="1"> 16 $clone = $dom->documentElement->getAttributeNodeNs("some:ns", "bar")->cloneNode(true); 24 <container xmlns:foo="some:ns" foo:bar="1"> 25 <child xmlns:foo="some:other" xmlns:foo1="some:ns" foo1:bar="1"/>
|
H A D | DOMNode_C14N_references.phpt | 11 <foo xmlns="http://www.example.com/ns/foo" 12 xmlns:fubar="http://www.example.com/ns/fubar" xmlns:test="urn::test"><contain> 15 <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test3 /></fubar:bar> 27 'namespaces' => ['a' => 'http://www.example.com/ns/foo'], 41 <contain xmlns="http://www.example.com/ns/foo"><bar></bar><bar></bar></contain>
|
H A D | bug47531_b.phpt | 10 <container xmlns:foo="some:ns"> 19 <p xmlns:foo="other:ns"> 29 <child7 xmlns:foo="some:ns" foo:foo="bar"> 44 <container xmlns:foo="some:ns"> 53 <p xmlns:foo="other:ns"> 63 <child7 xmlns:foo="some:ns" foo:foo="bar">
|
H A D | DOM4_DOMNode_before_ns.phpt | 14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house'); 19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street'); 26 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
|
H A D | DOM4_DOMNode_after_ns.phpt | 14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house'); 19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street'); 26 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
|
H A D | bug67440.phpt | 13 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '1')); 15 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '2')); 72 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2"> 79 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2"> 92 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2"> 100 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2"> 107 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2"> 120 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2"> 128 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2"> 135 <rootElement xmlns:myns="http://example/ns" xmlns:myns2="http://example/ns2"> [all …]
|
H A D | DOM4_DOMNode_append_ns.phpt | 14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house'); 23 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
|
H A D | bug46185.phpt | 9 <ns1:a xmlns:ns1="urn::ns"/>'); 14 <ns1:ok xmlns:ns1="urn::ns" xmlns="urn::REAL"><watch-me xmlns:default="urn::BOGUS"/></ns1:ok>'); 23 <ns1:a xmlns:ns1="urn::ns"><ns1:ok xmlns="urn::REAL"><watch-me xmlns:default="urn::BOGUS"/></ns1:ok…
|
H A D | DOM4_DOMNode_prepend_ns.phpt | 14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house'); 23 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
|
H A D | dom002.phpt | 9 <foo xmlns="http://www.example.com/ns/foo" 10 xmlns:fubar="http://www.example.com/ns/fubar"> 30 dump($dom->getElementsByTagNameNS('http://www.example.com/ns/fubar', 'bar')); 31 dump($doc->getElementsByTagNameNS('http://www.example.com/ns/fubar', 'bar'));
|
/php-src/ext/reflection/tests/ |
H A D | bug49092.phpt | 5 namespace ns; 7 new \ReflectionFunction('ns\func'); 8 new \ReflectionFunction('\ns\func');
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_ns_imported_06.phpt | 25 <container xmlns="some:ns" xmlns:bar="another:ns"> 32 <foo xmlns="some:ns"/> 38 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p>foo<x xmlns="some:ns"> 44 <foo xmlns="some:ns"/> 53 <foo xmlns="some:ns"></foo>
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug73538.phpt | 14 $client->__setSoapHeaders(new \SoapHeader('ns', 'Header', ['something' => 1])); 15 $client->__setSoapHeaders(new \SoapHeader('ns', 'Header', ['something' => 2])); 25 $client->__setSoapHeaders([new \SoapHeader('ns', 'Header', ['something' => 1])]); 26 $client->__setSoapHeaders([new \SoapHeader('ns', 'Header', ['something' => 2])]); 33 …"http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="test://" xmlns:ns2="ns" xmlns:xsd="http://w… 35 …"http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="test://" xmlns:ns2="ns" xmlns:xsd="http://w…
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | tag.h | 51 lxb_html_tag_is_category(lxb_tag_id_t tag_id, lxb_ns_id_t ns, in lxb_html_tag_is_category() argument 54 if (tag_id < LXB_TAG__LAST_ENTRY && ns < LXB_NS__LAST_ENTRY) { in lxb_html_tag_is_category() 55 return lxb_html_tag_res_cats[tag_id][ns] & cat; in lxb_html_tag_is_category()
|
H A D | tree.c | 270 && adjusted->ns == LXB_NS_MATH in lxb_html_tree_construction_dispatcher() 492 attr->node.ns = ns; in lxb_html_tree_append_attributes() 531 new_attr->node.ns = attr->node.ns; in lxb_html_tree_append_attributes_from_element() 666 attr->node.ns = adjust->ns; in lxb_html_tree_adjust_foreign_attributes() 1034 if (node->ns != LXB_NS_HTML) { in lxb_html_tree_reset_insertion_mode_appropriately() 1171 if (node->local_name == tag_id && node->ns == ns) { in lxb_html_tree_element_in_scope() 1228 if (node->ns == LXB_NS_HTML) { in lxb_html_tree_element_in_scope_h123456() 1264 if (node->ns == LXB_NS_HTML) { in lxb_html_tree_element_in_scope_tbody_thead_tfoot() 1299 if (node->ns == LXB_NS_HTML) { in lxb_html_tree_element_in_scope_td_th() 1675 if (node->ns == LXB_NS_MATH in lxb_html_tree_html_integration_point() [all …]
|
/php-src/ext/standard/tests/serialize/ |
H A D | precision.phpt | 27 foreach ($numbers as $ns) { 28 $num = unpack("d", pack("H*", $ns)); $num = reset($num); 32 if ($repr == $ns) 35 echo "mismatch\n\twas: $ns\n\tbecame: $repr\n";
|
/php-src/ext/soap/ |
H A D | php_sdl.h | 95 char *ns; member 104 char *ns; member 110 char *ns; member 237 char *ns; member 257 encodePtr get_encoder(sdlPtr sdl, const char *ns, const char *type); 261 sdlBindingPtr get_binding_from_name(sdlPtr sdl, char *name, char *ns);
|
/php-src/ext/dom/ |
H A D | node.c | 50 if (nodep->ns != NULL && nodep->ns->prefix != NULL) { in dom_node_get_node_name_attribute_or_element() 93 xmlNsPtr ns = nodep->ns; in dom_node_node_name_read() local 94 if (ns != NULL && ns->prefix) { in dom_node_node_name_read() 544 xmlNsPtr ns = nodep->ns; in dom_node_prefix_read() local 545 if (ns != NULL && ns->prefix) { in dom_node_prefix_read() 567 xmlNsPtr ns = nodep->ns; in dom_modern_node_prefix_read() local 568 if (ns != NULL && ns->prefix != NULL) { in dom_modern_node_prefix_read() 627 ns = xmlNewNs(nsnode, nodep->ns->href, BAD_CAST prefix); in dom_node_prefix_write() 1490 node->ns = n->ns; in PHP_METHOD() 1610 const xmlChar *this_ns = this->ns ? this->ns->href : NULL; in php_dom_node_is_ns_uri_equal() [all …]
|
/php-src/ext/dom/lexbor/lexbor/dom/ |
H A D | interface.c | 24 lxb_ns_id_t ns) in lxb_dom_interface_create() argument 34 domel->node.ns = ns; in lxb_dom_interface_create()
|
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/ |
H A D | foreign_content.c | 48 if (list[idx]->ns == LXB_NS_HTML) { in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed() 65 if (node->local_name != LXB_TAG_SCRIPT || node->ns != LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_script_closed() 83 if (node->ns == LXB_NS_MATH) { in lxb_html_tree_insertion_mode_foreign_content_anything_else() 86 else if (node->ns == LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_anything_else() 90 element = lxb_html_tree_insert_foreign_element(tree, token, node->ns); in lxb_html_tree_insertion_mode_foreign_content_anything_else() 98 if (node->ns == LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_anything_else() 115 if (token->tag_id == LXB_TAG_SCRIPT && node->ns == LXB_NS_SVG) { in lxb_html_tree_insertion_mode_foreign_content_anything_else() 277 || node->ns == LXB_NS_HTML)); in lxb_html_tree_insertion_mode_foreign_content_all()
|