mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix #39057: Loose the static call
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@225983 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5837c98d90
commit
f403566f96
1 changed files with 1 additions and 20 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<refentry id="function.dom-domdocument-load">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->load()</refname>
|
||||
|
@ -20,12 +20,6 @@
|
|||
<para>
|
||||
Loads an XML document from a file.
|
||||
</para>
|
||||
<para>
|
||||
This method may also be called statically to load and create a
|
||||
<classname>DOMDocument</classname> object. The static invocation may be
|
||||
used when no <classname>DOMDocument</classname> properties need to be set
|
||||
prior to loading.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
|
@ -60,19 +54,6 @@ $doc = new DOMDocument();
|
|||
$doc->load('book.xml');
|
||||
echo $doc->saveXML();
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Static invocation of <literal>load</literal></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$doc = DOMDocument::load('book.xml');
|
||||
echo $doc->saveXML();
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
|
Loading…
Reference in a new issue