Home
last modified time | relevance | path

Searched refs:title (Results 1 – 25 of 126) sorted by relevance

123456

/PHP-8.2/ext/dom/tests/
H A DDOMNode_normalize_basic.phpt12 * <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 DDOMDocument_saveHTML_variant1.phpt12 $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 DDOMNode_cloneNode_basic.phpt13 <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 DDOMNode_hasChildNodes_basic.phpt11 * <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 DDOMDocument_saveHTML_basic.phpt15 $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 DDOMDocument_loadXML_variation4.phpt26 <!ATTLIST title default CDATA "default title">
28 <!ELEMENT book (title , author)>
29 <!ELEMENT title (#PCDATA)>
32title default="default title">The Grapes of Wrath</title><author>John Steinbeck</author></book><bo…
H A DDOMDocument_saveHTMLFile_formatOutput_gte_2_13.phpt21 $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 Ddom006.phpt9 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 DDOMDocument_saveHTML_basic_gte_2_13.phpt20 $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 DDOMDocument_saveHTMLFile_basic.phpt20 $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 DDOMDocument_saveHTMLFile_formatOutput.phpt21 $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 DDOMDocument_load_variation4.phpt25title default="default title">The Grapes of Wrath</title><author>John Steinbeck</author></book><bo…
H A DDOMDocument_preserveWhiteSpace_variations.phpt29 <title>The Grapes of Wrath</title>
33 <title>The Pearl</title>
40 <books><book><title>The Grapes of Wrath</title><author>John Steinbeck</author></book><book><title>T…
H A DDOMDocument_save_basic.phpt14 $title = $doc->createElement('title');
15 $title = $root->appendChild($title);
17 $text = $doc->createTextNode('This is the title');
18 $text = $title->appendChild($text);
H A DDOMNode_C14N_basic.phpt11 <title>The Grapes of Wrath</title>
15 <title>The Pearl</title>
23 $node = $doc->getElementsByTagName('title')->item(0);
38 string(34) "<title>The Grapes of Wrath</title>"
H A DDOMDocument_saveHTMLFile_invalid_filename.phpt16 $title = $doc->createElement('title');
17 $title = $head->appendChild($title);
18 $text = $doc->createTextNode('This is the title');
19 $text = $title->appendChild($text);
H A Dbug35673.phpt8 <title>This is the title</title></head></html>';
19 <title>This is the title</title>
H A DDOMNode_removeChild_basic.phpt13 <course title="one">
19 <course title="two">
29 …$title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getA…
30 echo "Course: $title:";echo get_class($current), "\n";
61 Course: no title:DOMText
73 Course: no title:DOMText
85 Course: no title:DOMText
/PHP-8.2/Zend/tests/
H A Dbug43918.phpt11 <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.2/ext/spl/tests/
H A Dbug38618.phpt8 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.2/ext/tidy/tests/
H A D010.phpt19 <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.2/sapi/cli/tests/
H A Dcli_process_title_unix.phpt6 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 Dcli_set_process_title_basic.phpt9 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
H A Dcli_process_title_windows.phpt20 // Hence on Windows 8, we don't verify that the title is actually set by
25 echo "*** Testing setting the process title ***\n";
27 $original_title = uniqid("title", true);
31 echo "Successfully set title\n";
43 echo "Reading title using get-process failed\n";
58 echo "Successfully verified title using get-process\n";
64 echo "Successfully verified title using get\n";
70 *** Testing setting the process title ***
71 Successfully set title
72 Successfully verified title using get-process
[all …]
/PHP-8.2/sapi/cli/
H A Dphp_cli_process_title.c28 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()

Completed in 23 milliseconds

123456