We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45c93c1 commit 2aebca8Copy full SHA for 2aebca8
ext/dom/tests/domchardata.phpt
@@ -55,6 +55,7 @@ $text = new DOMText('some text characters');
55
56
echo "Whole Text: ".$text->wholeText."\n";
57
$text2 = $text->splitText(9);
58
+echo "Is Whitespace?: ", $text2->isElementContentWhitespace()?'YES':'NO', "\n";
59
60
echo "Split text: ".$text2->wholeText."\n";
61
$text3 = $text2->splitText(1);
@@ -71,5 +72,6 @@ Comment Value: instructions
71
72
New Comment Value: some more instructions
73
Updated Comment Value: some more comment strings
74
Whole Text: some text characters
75
+Is Whitespace?: NO
76
Split text: characters
77
Is Whitespace?: YES
0 commit comments