/PHP-8.3/Zend/tests/ |
H A D | bug47596.phpt | 6 // comment comment comment comment comment comment comment comment comment 7 // comment comment comment comment comment comment comment comment comment 8 // comment comment comment comment comment comment comment comment comment 9 // comment comment comment comment comment comment comment comment comment 10 // comment comment comment comment comment comment comment comment comment 11 // comment comment comment comment comment comment comment comment comment 12 // comment comment comment comment comment comment comment comment comment 13 // comment comment comment comment comment comment comment comment comment 14 // comment comment comment comment comment comment comment comment comment 15 // comment comment comment comment comment comment comment comment comment [all …]
|
H A D | gh14961.phpt | 11 $c->/* comment */class = 42; 12 var_dump($c->/** doc comment */class); 14 // line comment 17 # hash comment 19 var_dump($c?->/* comment */class);
|
H A D | bug42767.phpt | 5 highlight.comment = #FF8000 11 highlight_string('<?php /*some comment..'); 14 …yle="color: #0000BB"><?php </span><span style="color: #FF8000">/*some comment..</span></code></…
|
/PHP-8.3/ext/reflection/tests/ |
H A D | ReflectionProperty_getDocComment_basic.phpt | 18 /**Not a doc comment */ 21 * Doc comment for $f 45 ---> Doc comment for A::$a: 52 ---> Doc comment for A::$b: 56 ---> Doc comment for A::$c: 60 ---> Doc comment for A::$d: 66 ---> Doc comment for A::$e: 70 ---> Doc comment for A::$f: 72 * Doc comment for $f 76 ---> Doc comment for B::$a: [all …]
|
H A D | ReflectionClass_getDocComment_001.phpt | 27 * Interface doc comment 36 * Not a doc comment 40 /**** Not a doc comment */ 43 /**?** Not a doc comment */ 46 /** ** Doc comment for G */ 59 ---> Doc comment for class A: 71 ---> Doc comment for class B: 75 ---> Doc comment for class C: 79 ---> Doc comment for class D: 83 ---> Doc comment for class E: [all …]
|
H A D | ReflectionMethod_getDocComment_basic.phpt | 34 /*** Not a doc comment */ 61 echo "\n\n---> Doc comment for $class::" . $rm->getName() . "():\n"; 67 ---> Doc comment for A::f(): 73 ---> Doc comment for A::privf(): 79 ---> Doc comment for A::protStatf(): 83 ---> Doc comment for A::finalStatPubf(): 90 ---> Doc comment for B::f(): 94 ---> Doc comment for B::privf(): 100 ---> Doc comment for B::protStatf(): 109 ---> Doc comment for B::finalStatPubf():
|
/PHP-8.3/ext/dom/tests/ |
H A D | domchardata.phpt | 23 $charnode->appendChild($comment); 27 $comment->data = 'Updated comment'; 40 $comment = new DOMComment('instructions'); 42 $comment->data = 'some more instructions'; 45 $comment->insertData(10, 'pi '); 46 $comment->replaceData(18, 5, 'i'); 47 $comment->insertData(20, 'g'); 48 $comment->deleteData(13, 2); 49 $comment->deleteData(10, 3); 50 $comment->insertData(10, 'comment '); [all …]
|
H A D | DOMComment_replaceData_basic.phpt | 12 $comment = $dom->createComment('test-comment'); 13 $comment->replaceData(4,1,'replaced'); 14 $dom->appendChild($comment); 19 $comment = $dom->createComment('test-comment'); 20 $comment->replaceData(0,50,'replaced'); 21 $dom->appendChild($comment);
|
H A D | DOMComment_construct_basic_001.phpt | 12 $comment = new DOMComment("This is the first comment."); 13 $comment->__construct("This is the second comment."); 14 $comment = $element->appendChild($comment); 19 <root><!--This is the second comment.--></root>
|
H A D | bug66502.phpt | 9 $comment = new DOMComment("Comment 0"); 10 $comment = $element->appendChild($comment); 12 $comment->__construct("Comment 1"); 13 $comment->__construct("Comment 2"); 14 $comment->__construct("Comment 3");
|
H A D | DOMComment_appendData_basic.phpt | 12 $comment = $dom->createComment('test-comment'); 13 $comment->appendData('-more-data'); 14 $dom->appendChild($comment); 21 <!--test-comment-more-data-->
|
H A D | DOMComment_insertData_basic.phpt | 13 $comment = $dom->createComment('test-comment'); 14 $comment->insertData(4,'-inserted'); 15 $dom->appendChild($comment); 21 <!--test-inserted-comment-->
|
H A D | DOMComment_appendData_basic_Sullivan.phpt | 15 $comment = $document->createElement('comment'); 16 $root->appendChild($comment); 19 $comment->appendChild($commentnode); 37 <root><comment><!--data><&"--></comment></root>
|
H A D | DOMComment_insertData_error1.phpt | 13 $comment = $dom->createComment('test-comment'); 15 $comment->insertData(-1,'-inserted');
|
H A D | DOMComment_replaceData_error1.phpt | 13 $comment = $dom->createComment('test-comment'); 15 $comment->replaceData(-1,4,'-inserted');
|
/PHP-8.3/ext/dom/tests/manually_call_constructor/ |
H A D | comment.phpt | 2 Manually call __construct() - comment variation 8 $comment = new DOMComment("my value"); 9 var_dump($comment->nodeName, $comment->nodeValue); 10 $comment->__construct("my new value"); 11 var_dump($comment->nodeName, $comment->nodeValue); 18 $doc->documentElement->appendChild($comment); 21 $comment->__construct("my even newer value"); 22 $doc->documentElement->appendChild($comment); 27 string(8) "#comment" 29 string(8) "#comment"
|
/PHP-8.3/ext/dom/tests/delayed_freeing/ |
H A D | comment_node.phpt | 2 Delayed freeing comment node 8 $comment = $doc->appendChild($doc->createElement('container')) 9 ->appendChild($doc->createComment('my comment')); 11 $comment->parentNode->remove(); 13 echo $doc->saveXML($comment), "\n"; 14 var_dump($comment->parentNode); 18 <container><!--my comment--></container> 22 <!--my comment-->
|
/PHP-8.3/tests/classes/ |
H A D | constants_comments_001.phpt | 8 /** comment X1 */ 11 /** comment X3 */ 15 /** comment Y1 */ 18 /** comment Y3 */ 29 Y1 : /** comment Y1 */ 31 Y3 : /** comment Y3 */ 32 X1 : /** comment X1 */ 34 X3 : /** comment X3 */
|
/PHP-8.3/ext/simplexml/tests/ |
H A D | bug12170.phpt | 23 foreach ($sxe->xpath('//comment()') as $comment) { 24 var_dump($comment->getName()); 25 var_dump($comment->asXML()); 38 ["comment"]=> 44 ["comment"]=> 49 string(7) "comment" 51 string(7) "comment"
|
H A D | gh12169.phpt | 2 GH-12169 (Unable to get comment contents in SimpleXML) 11 <!-- comment contents --> 17 var_dump($sxe->xpath("//comment()")[0]->getName()); 18 var_dump((string) $sxe->xpath("//comment()")[0]); 22 string(7) "comment" 23 string(18) " comment contents "
|
/PHP-8.3/Zend/tests/grammar/ |
H A D | semi_reserved_008.phpt | 9 public static function /* comment */ catch(){ echo __METHOD__, PHP_EOL; } 10 private static function // comment 13 # comment 28 /** doc comment */ 30 catch /* comment */ 31 // comment 32 # comment 39 try /*comment*/ as public attempt; 40 exit // comment 41 as/*comment*/die; // non qualified
|
/PHP-8.3/ext/phar/tests/zip/files/ |
H A D | corrupt_zipmaker.php.inc | 47 var $comment = ""; 64 function setComment($comment) { $this->comment = $comment; } 231 case 'comment' : 288 strlen($this->comment)) . $this->comment; 294 strlen($this->comment)) . $this->comment; 300 strlen($this->comment)) . $this->comment; 306 strlen($this->comment)) . $this->comment; 312 strlen($this->comment)) . $this->comment; 318 strlen($this->comment)) . $this->comment; 320 case 'comment' : [all …]
|
/PHP-8.3/ext/xmlwriter/tests/ |
H A D | 005-mb.phpt | 14 xmlwriter_text($xw, 'comment'); 16 xmlwriter_write_comment($xw, "comment #2"); 27 <tag1><!--comment--><!--comment #2--></tag1>
|
H A D | 005.phpt | 14 xmlwriter_text($xw, 'comment'); 16 xmlwriter_write_comment($xw, "comment #2"); 27 <tag1><!--comment--><!--comment #2--></tag1>
|
H A D | OO_005.phpt | 14 $xw->text('comment'); 16 $xw->writeComment("comment #2"); 27 <tag1><!--comment--><!--comment #2--></tag1>
|