/PHP-8.4/ext/dom/tests/modern/common/ |
H A D | Document_title_getter.phpt | 2 Dom\Document::$title getter 11 var_dump($dom->title); 14 var_dump($dom->title); 17 var_dump($dom->title); 19 …lns=\"http://www.w3.org/1999/xhtml\"><ignoreme/><div><title>first</title></div><title>second</titl… 22 $dom = Dom\XMLDocument::createFromString("<title xmlns=\"http://www.w3.org/1999/xhtml\">title</titl… 58 …s=\"http://www.w3.org/1999/xhtml\"><title xmlns=\"http://www.w3.org/1999/xhtml\">title</title><foo… 71 string(5) "title" 81 string(5) "title" 82 string(5) "title" [all …]
|
H A D | Document_title_setter.phpt | 2 Dom\Document::$title setter 17 $dom->title = ""; 19 $dom->title = "test"; 23 $dom->title = "test"; 28 $dom->title = "test"; 37 $dom->title = "test"; 41 $dom->title = "test"; 45 $dom->title = "test"; 59 $dom->title = ""; 75 <svg xmlns="http://www.w3.org/2000/svg"><title></title></svg> [all …]
|
/PHP-8.4/ext/dom/tests/ |
H A D | DOMNode_normalize_basic.phpt | 12 * <title>This is the title</title> 15 * Add another text node to title. Calculate the number of title text nodes (2). 17 * Normalize title. Calculate the number of title text nodes (1). 25 $title = $doc->createElement('title'); 26 $root->appendChild($title); 32 $title->appendChild($text); 41 echo "Number of child nodes of title after adding second title = "; 52 $title->normalize(); 54 echo "Number of child nodes of title after normalizing title = "; 60 Number of child nodes of title after adding second title = int(2) [all …]
|
H A D | DOMDocument_saveHTML_variant1.phpt | 12 $title = $doc->createElement('title'); 13 $title = $head->appendChild($title); 14 $text = $doc->createTextNode('This is the title'); 15 $text = $title->appendChild($text); 17 echo $doc->saveHTML($title), "\n"; 20 <html><head><title>This is the title</title></head></html> 22 <title>This is the title</title>
|
H A D | DOMNode_cloneNode_basic.phpt | 13 <course title="one"> 19 <course title="two"> 29 …$title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getA… 51 $first_course->setAttribute('title', 'new title1'); 54 $first_course->setAttribute('title', 'new title2'); 59 $cloned_first_course_default->setAttribute('title', 'new title default'); 60 $cloned_first_course_true->setAttribute('title', 'new title true'); 61 $cloned_first_course_false->setAttribute('title', 'new title false'); 92 Course: new title default:DOMElement 95 Course: new title true:DOMElement [all …]
|
H A D | DOMNode_hasChildNodes_basic.phpt | 11 * <title>This is the title</title> 13 * Check for child nodes of the <book>, <title> and This is the title 22 $title = $doc->createElement('title'); 23 $root->appendChild($title); 25 $text = $doc->createTextNode('This is the title'); 26 $title->appendChild($text); 32 var_dump($title->hasChildNodes());
|
H A D | DOMDocument_saveHTML_basic.phpt | 15 $title = $doc->createElement('title'); 16 $title = $head->appendChild($title); 17 $text = $doc->createTextNode('This is the title'); 18 $text = $title->appendChild($text); 22 <html><head><title>This is the title</title></head></html>
|
H A D | DOMDocument_loadXML_variation4.phpt | 24 <!ATTLIST title default CDATA "default title"> 26 <!ELEMENT book (title , author)> 27 <!ELEMENT title (#PCDATA)> 30 …title default="default title">The Grapes of Wrath</title><author>John Steinbeck</author></book><bo…
|
H A D | DOMDocument_saveHTMLFile_formatOutput_gte_2_13.phpt | 21 $title = $doc->createElement('title'); 22 $title = $head->appendChild($title); 23 $text = $doc->createTextNode('This is the title'); 24 $text = $title->appendChild($text); 32 <html><head><title>This is the title</title></head></html>
|
H A D | DOMDocument_saveHTML_basic_gte_2_13.phpt | 20 $title = $doc->createElement('title'); 21 $title = $head->appendChild($title); 22 $text = $doc->createTextNode('This is the title'); 23 $text = $title->appendChild($text); 31 <html><head><title>This is the title</title></head></html>
|
H A D | dom006.phpt | 9 function addBook($title, $author) { 10 $titleElement = $this->createElement("title"); 11 $titleElement->appendChild($this->createTextNode($title)); 34 <title>The Grapes of Wrath</title> 38 <title>The Pearl</title> 41 <book><title>PHP de Luxe</title><author>Richard Samar, Christian Stocker</author></book></books>
|
H A D | DOMDocument_saveHTMLFile_basic.phpt | 20 $title = $doc->createElement('title'); 21 $title = $head->appendChild($title); 22 $text = $doc->createTextNode('This is the title'); 23 $text = $title->appendChild($text); 31 …ttp-equiv="Content-Type" content="text/html; charset=UTF-8"><title>This is the title</title></head…
|
H A D | DOMDocument_saveHTMLFile_formatOutput.phpt | 21 $title = $doc->createElement('title'); 22 $title = $head->appendChild($title); 23 $text = $doc->createTextNode('This is the title'); 24 $text = $title->appendChild($text); 34 <title>This is the title</title>
|
H A D | DOMDocument_load_variation4.phpt | 23 …title default="default title">The Grapes of Wrath</title><author>John Steinbeck</author></book><bo…
|
/PHP-8.4/ext/dom/tests/modern/css_selectors/ |
H A D | attribute.phpt | 13 <a title="http://example.be"/> 21 test_helper($dom, 'a[title]'); 28 test_helper($dom, 'a[title^="http"][title$=".be"]'); 39 test_helper($dom, 'a[title]'); 44 test_helper($dom, 'a[title^="HTTP" i][title$=".be"]'); 55 --- Selector: a[title] --- 57 <a title="http://example.be"/> 65 <a title="http://example.be"/> 73 --- Selector: a[title^="http"][title$=".be"] --- 89 --- Selector: a[title] --- [all …]
|
/PHP-8.4/ext/dom/tests/modern/spec/ |
H A D | Node_normalize.phpt | 14 * <title>This is the title</title> 17 * Add another text node to title. Calculate the number of title text nodes (2). 19 * Normalize title. Calculate the number of title text nodes (1). 27 $title = $doc->createElement('title'); 28 $root->appendChild($title); 34 $title->appendChild($text); 43 echo "Number of child nodes of title after adding second title = "; 54 $title->normalize(); 56 echo "Number of child nodes of title after normalizing title = "; 62 Number of child nodes of title after adding second title = int(2) [all …]
|
/PHP-8.4/ext/dom/lexbor/lexbor/html/interfaces/ |
H A D | title_element.c | 37 text = title->strict_text; in lxb_html_title_element_interface_destroy() 87 text = lxb_html_title_element_text(title, &text_len); in lxb_html_title_element_strict_text() 92 if (title->strict_text != NULL) { in lxb_html_title_element_strict_text() 93 if (title->strict_text->length < text_len) { in lxb_html_title_element_strict_text() 96 data = lexbor_str_realloc(title->strict_text, in lxb_html_title_element_strict_text() 106 if (title->strict_text == NULL) { in lxb_html_title_element_strict_text() 111 if (title->strict_text->data == NULL) { in lxb_html_title_element_strict_text() 120 title->strict_text->data[text_len] = 0x00; in lxb_html_title_element_strict_text() 121 title->strict_text->length = text_len; in lxb_html_title_element_strict_text() 126 *len = title->strict_text->length; in lxb_html_title_element_strict_text() [all …]
|
/PHP-8.4/Zend/tests/ |
H A D | bug43918.phpt | 11 <title>TEST</title> 14 <title>TEST</title> 17 <title>TEST</title> 20 <title>TEST</title> 23 <title>TEST</title> 26 <title>TEST</title> 29 <title>TEST</title>
|
/PHP-8.4/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromString_fromFile_LIBXML_HTML_NOIMPLIED.phpt | 27 test("<title>x</title><p>foo</p>"); 31 test("<head><title>x</title></head><body><p>foo</p></body>"); 34 test("<html><!-- foo --><title>a</title><p>foo</p></html><!-- bar -->"); 61 Testing: <title>x</title><p>foo</p> 62 <title>x</title><p>foo</p> 66 <!-- bar --><head><title>x</title><!-- foo --></head><p>foo</p><!-- bar --> 69 Testing: <head><title>x</title></head><body><p>foo</p></body> 70 <head><title>x</title></head><body><p>foo</p></body> 76 Testing: <html><!-- foo --><title>a</title><p>foo</p></html><!-- bar --> 77 <html><!-- foo --><title>a</title><p>foo</p></html><!-- bar --> [all …]
|
/PHP-8.4/ext/spl/tests/ |
H A D | bug38618.phpt | 8 public $title; 10 public function __construct($title) 12 $this->title = $title; 17 return $this->title; 23 protected $title; 25 public function __construct($title) 27 $this->title = $title; 32 return $this->title; 92 title => apple 93 title => grape
|
/PHP-8.4/ext/dom/tests/delayed_freeing/ |
H A D | attribute_declaration.phpt | 13 title CDATA #REQUIRED 16 <book title="book title"/> 27 <!ATTLIST book title CDATA #REQUIRED> 29 <book title="book title"/> 32 <book title="book title"/>
|
/PHP-8.4/ext/tidy/tests/ |
H A D | 010.phpt | 19 <title></title> 45 <title></title> 70 <title></title> 92 string(16) "<title></title> 176 <title></title> 201 <title></title> 223 string(16) "<title></title> 226 string(5) "title" 277 <title></title> 299 string(16) "<title></title> [all …]
|
/PHP-8.4/sapi/cli/tests/ |
H A D | cli_process_title_unix.phpt | 6 die("skip cli process title not available in non-cli SAPI"); 19 echo "*** Testing setting the process title ***\n"; 21 $set_title = $original_title = uniqid("title", true); 25 echo "Successfully set title\n"; 43 // Fix up title for BSD 48 echo "Successfully verified title using ps\n"; 54 echo "Successfully verified title using get\n"; 60 *** Testing setting the process title *** 61 Successfully set title 62 Successfully verified title using ps [all …]
|
H A D | cli_set_process_title_basic.phpt | 9 die("skip cli process title not available in non-cli SAPI"); 11 die("skip process title not available (disabled or unsupported)"); 15 if (cli_set_process_title("title") === true && 16 cli_get_process_title() === "title") 17 echo "Successfully set title\n"; 21 Successfully set title
|
/PHP-8.4/sapi/cli/ |
H A D | php_cli_process_title.c | 28 char *title = NULL; in PHP_FUNCTION() local 32 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &title, &title_len) == FAILURE) { in PHP_FUNCTION() 36 rc = set_ps_title(title); in PHP_FUNCTION() 50 const char* title = NULL; in PHP_FUNCTION() local 57 rc = get_ps_title(&length, &title); in PHP_FUNCTION() 63 RETURN_STRINGL(title, length); in PHP_FUNCTION()
|