Lines Matching refs:comment
22 $comment = new DOMComment('Testing character data and extending nodes');
23 $charnode->appendChild($comment);
25 echo "Comment Length: ".$comment->length."\n";
27 $comment->data = 'Updated comment';
28 echo "New Comment Length: ".$comment->length."\n";
29 echo "New Comment Data: ".$comment->data."\n";
40 $comment = new DOMComment('instructions');
41 echo "Comment Value: ".$comment->data."\n";
42 $comment->data = 'some more instructions';
43 echo "New Comment Value: ".$comment->data."\n";
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 ');
51 echo "Updated Comment Value: ".$comment->data."\n";
67 New Comment Data: Updated comment
72 Updated Comment Value: some more comment strings