Home
last modified time | relevance | path

Searched refs:comment (Results 1 – 25 of 196) sorted by relevance

12345678

/PHP-8.2/Zend/tests/
H A Dbug47596.phpt6 // 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 Dgh14961.phpt11 $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 Dbug42767.phpt5 highlight.comment = #FF8000
11 highlight_string('<?php /*some comment..');
15 <span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #FF8000">/*some&nbsp;comment.…
/PHP-8.2/ext/reflection/tests/
H A DReflectionProperty_getDocComment_basic.phpt18 /**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 DReflectionClass_getDocComment_001.phpt27 * 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 DReflectionMethod_getDocComment_basic.phpt34 /*** 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.2/ext/dom/tests/
H A Ddomchardata.phpt23 $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 DDOMComment_replaceData_basic.phpt12 $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 DDOMComment_construct_basic_001.phpt12 $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 Dbug66502.phpt9 $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 DDOMComment_appendData_basic.phpt12 $comment = $dom->createComment('test-comment');
13 $comment->appendData('-more-data');
14 $dom->appendChild($comment);
21 <!--test-comment-more-data-->
H A DDOMComment_insertData_basic.phpt13 $comment = $dom->createComment('test-comment');
14 $comment->insertData(4,'-inserted');
15 $dom->appendChild($comment);
21 <!--test-inserted-comment-->
H A DDOMComment_appendData_basic_Sullivan.phpt15 $comment = $document->createElement('comment');
16 $root->appendChild($comment);
19 $comment->appendChild($commentnode);
37 <root><comment><!--data><&"--></comment></root>
H A DDOMComment_insertData_error1.phpt13 $comment = $dom->createComment('test-comment');
15 $comment->insertData(-1,'-inserted');
H A DDOMComment_replaceData_error1.phpt13 $comment = $dom->createComment('test-comment');
15 $comment->replaceData(-1,4,'-inserted');
H A DDOMComment_insertData_error2.phpt13 $comment = $dom->createComment('test-comment');
15 $comment->insertData(999,'-inserted');
/PHP-8.2/ext/dom/tests/manually_call_constructor/
H A Dcomment.phpt2 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.2/tests/classes/
H A Dconstants_comments_001.phpt8 /** 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.2/ext/simplexml/tests/
H A Dbug12170.phpt23 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 Dgh12169.phpt2 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.2/Zend/tests/grammar/
H A Dsemi_reserved_008.phpt9 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.2/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc47 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.2/ext/xmlwriter/tests/
H A D005-mb.phpt14 xmlwriter_text($xw, 'comment');
16 xmlwriter_write_comment($xw, "comment #2");
27 <tag1><!--comment--><!--comment #2--></tag1>
H A D005.phpt14 xmlwriter_text($xw, 'comment');
16 xmlwriter_write_comment($xw, "comment #2");
27 <tag1><!--comment--><!--comment #2--></tag1>
H A DOO_005.phpt14 $xw->text('comment');
16 $xw->writeComment("comment #2");
27 <tag1><!--comment--><!--comment #2--></tag1>

Completed in 31 milliseconds

12345678