PHP 8.5.0 Alpha 4 available for testing

Voting

: min(eight, eight)?
(Example: nine)

The Note You're Voting On

Gabi
18 years ago
might be obvious, but not to everyone ;-) ... when reading attributes from a node that has sub-nodes (and creating an output from this node), the output will be issued twice, once on the <ELEMENT> tag and once on the end tag </ELEMENT>. To avoid this, you can test on which part of the node you are using the property nodeType.
It'll be 1 for the element, 15 for the end element.

<< Back to user notes page

To Top