mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282949 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
40182f6a9b
commit
e2959e6326
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
|
||||
<refentry xml:id="domnode.getlineno" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
|
@ -53,7 +53,7 @@ $dom = new DOMDocument;
|
|||
$dom->loadXML($xml);
|
||||
|
||||
// Print where the line where the 'node' element was defined in
|
||||
printf('The <node> tag is defined in line %d', $dom->getElementsByTagName('node')->item(0)->getLineNo());
|
||||
printf('The <node> tag is defined on line %d', $dom->getElementsByTagName('node')->item(0)->getLineNo());
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue