/PHP-5.5/ext/dom/tests/ |
H A D | DOMNode_normalize_basic.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 …]
|
H A D | DOMDocument_saveHTML_variant1.phpt | 14 $title = $doc->createElement('title'); 15 $title = $head->appendChild($title); 16 $text = $doc->createTextNode('This is the title'); 17 $text = $title->appendChild($text); 19 echo $doc->saveHTML($title), "\n"; 22 <html><head><title>This is the title</title></head></html> 24 <title>This is the title</title>
|
H A D | DOMNode_cloneNode_basic.phpt | 15 <course title="one"> 21 <course title="two"> 31 …$title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getA… 53 $first_course->setAttribute('title', 'new title1'); 56 $first_course->setAttribute('title', 'new title2'); 61 $cloned_first_course_default->setAttribute('title', 'new title default'); 62 $cloned_first_course_true->setAttribute('title', 'new title true'); 63 $cloned_first_course_false->setAttribute('title', 'new title false'); 94 Course: new title default:DOMElement 97 Course: new title true:DOMElement [all …]
|
H A D | DOMNode_hasChildNodes_basic.phpt | 13 * <title>This is the title</title> 15 * Check for child nodes of the <book>, <title> and This is the title 24 $title = $doc->createElement('title'); 25 $root->appendChild($title); 27 $text = $doc->createTextNode('This is the title'); 28 $title->appendChild($text); 34 var_dump($title->hasChildNodes());
|
H A D | DOMDocument_loadXML_variation4.phpt | 26 <!ATTLIST title default CDATA "default title"> 28 <!ELEMENT book (title , author)> 29 <!ELEMENT title (#PCDATA)> 32 …title default="default title">The Grapes of Wrath</title><author>John Steinbeck</author></book><bo…
|
H A D | DOMDocument_saveHTML_basic.phpt | 17 $title = $doc->createElement('title'); 18 $title = $head->appendChild($title); 19 $text = $doc->createTextNode('This is the title'); 20 $text = $title->appendChild($text); 24 <html><head><title>This is the title</title></head></html>
|
H A D | DOMDocument_saveHTMLFile_formatOutput.phpt | 19 $title = $doc->createElement('title'); 20 $title = $head->appendChild($title); 21 $text = $doc->createTextNode('This is the title'); 22 $text = $title->appendChild($text); 32 <title>This is the title</title>
|
H A D | DOMDocument_saveHTMLFile_basic.phpt | 18 $title = $doc->createElement('title'); 19 $title = $head->appendChild($title); 20 $text = $doc->createTextNode('This is the title'); 21 $text = $title->appendChild($text); 29 …ttp-equiv="Content-Type" content="text/html; charset=UTF-8"><title>This is the title</title></head…
|
H A D | DOMNode_C14N_basic.phpt | 13 <title>The Grapes of Wrath</title> 17 <title>The Pearl</title> 25 $node = $doc->getElementsByTagName('title')->item(0); 29 string(34) "<title>The Grapes of Wrath</title>"
|
H A D | dom006.phpt | 9 function addBook($title, $author) { 10 $titleElement = $this->createElement("title"); 11 $titleElement->appendChild($this->createTextNode($title)); 33 <title>The Grapes of Wrath</title> 37 <title>The Pearl</title> 40 <book><title>PHP de Luxe</title><author>Richard Samar, Christian Stocker</author></book></books>
|
H A D | DOMNode_C14NFile_basic.phpt | 13 <title>The Grapes of Wrath</title> 17 <title>The Pearl</title> 26 $node = $doc->getElementsByTagName('title')->item(0); 38 string(34) "<title>The Grapes of Wrath</title>"
|
H A D | DOMDocument_load_variation4.phpt | 25 …title default="default title">The Grapes of Wrath</title><author>John Steinbeck</author></book><bo…
|
H A D | DOMDocument_preserveWhiteSpace_variations.phpt | 29 <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 D | DOMDocument_save_basic.phpt | 16 $title = $doc->createElement('title'); 17 $title = $root->appendChild($title); 19 $text = $doc->createTextNode('This is the title'); 20 $text = $title->appendChild($text);
|
H A D | DOMDocument_saveHTMLFile_error1.phpt | 17 $title = $doc->createElement('title'); 18 $title = $head->appendChild($title); 19 $text = $doc->createTextNode('This is the title'); 20 $text = $title->appendChild($text);
|
H A D | DOMNode_removeChild_basic.phpt | 15 <course title="one"> 21 <course title="two"> 31 …$title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getA… 32 echo "Course: $title:";echo get_class($current), "\n"; 63 Course: no title:DOMText 75 Course: no title:DOMText 87 Course: no title:DOMText
|
H A D | DOMDocument_saveHTMLFile_invalid_filename.phpt | 18 $title = $doc->createElement('title'); 19 $title = $head->appendChild($title); 20 $text = $doc->createTextNode('This is the title'); 21 $text = $title->appendChild($text);
|
H A D | bug35673.phpt | 8 <title>This is the title</title></head></html>'; 19 <title>This is the title</title>
|
/PHP-5.5/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-5.5/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; 96 title => apple 97 title => grape
|
/PHP-5.5/ext/tidy/tests/ |
H A D | 010.phpt | 19 <title></title> 43 <title></title> 68 <title></title> 90 string(16) "<title></title> 174 <title></title> 199 <title></title> 221 string(16) "<title></title> 224 string(5) "title" 275 <title></title> 297 string(16) "<title></title> [all …]
|
/PHP-5.5/sapi/cli/tests/ |
H A D | cli_process_title_unix.phpt | 10 echo "*** Testing setting the process title ***\n"; 12 $set_title = $original_title = uniqid("title", true); 16 echo "Successfully set title\n"; 29 // Fix up title for BSD 34 echo "Successfully verified title using ps\n"; 40 echo "Successfully verified title using get\n"; 46 *** Testing setting the process title *** 47 Successfully set title 48 Successfully verified title using ps 49 Successfully verified title using get
|
H A D | cli_process_title_windows.phpt | 18 // Hence on Windows 8, we don't verify that the title is actually set by 35 echo "*** Testing setting the process title ***\n"; 37 $original_title = uniqid("title", true); 41 echo "Successfully set title\n"; 53 echo "Reading title using get-process failed\n"; 68 echo "Successfully verified title using get-process\n"; 74 echo "Successfully verified title using get\n"; 80 *** Testing setting the process title *** 81 Successfully set title 82 Successfully verified title using get-process [all …]
|
/PHP-5.5/sapi/cli/ |
H A D | php_cli_process_title.c | 33 char *title = NULL; in PHP_FUNCTION() local 37 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &title, &title_len) == FAILURE) { in PHP_FUNCTION() 41 rc = set_ps_title(title); in PHP_FUNCTION() 56 const char* title = NULL; in PHP_FUNCTION() local 63 rc = get_ps_title(&length, &title); in PHP_FUNCTION() 69 RETURN_STRINGL(title, length, 1); in PHP_FUNCTION()
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_column_variant.phpt | 7 456 => array('id' => '3', 'title' => 'Foo', 'date' => '2013-03-25'), 8 457 => array('id' => '5', 'title' => 'Bar', 'date' => '2012-05-20'), 28 ["title"]=> 37 ["title"]=> 49 ["title"]=> 58 ["title"]=> 70 ["title"]=> 79 ["title"]=>
|