|
DOMNode::getLineNoGet line number for a node Description
public int DOMNode::getLineNo
( void
)
Gets line number for where the node is defined. ParametersThis function has no parameters. Return ValuesAlways returns the line number where the node was defined in. Examples
Example #1 DOMNode::getLineNo example
<?php The above example will output: The <node> tag is defined in line 3 |