mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix doc bug #53486 (DOMXPath::query can return false).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306049 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
812ddec8b5
commit
a2a4dcbc7d
2 changed files with 14 additions and 3 deletions
|
@ -60,6 +60,11 @@
|
|||
Returns a typed result if possible or a <classname>DOMNodeList</classname>
|
||||
containing all nodes matching the given XPath <parameter>expression</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
If the <parameter>expression</parameter> is malformed or the
|
||||
<parameter>contextnode</parameter> is invalid,
|
||||
<methodname>DOMXPath::evaluate</methodname> returns &false;.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
|
|
|
@ -56,9 +56,15 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns a <classname>DOMNodeList</classname> containing all nodes matching
|
||||
the given XPath <parameter>expression</parameter>. Any expression which do
|
||||
not return nodes will return an empty <classname>DOMNodeList</classname>.
|
||||
Returns a <classname>DOMNodeList</classname> containing all nodes matching
|
||||
the given XPath <parameter>expression</parameter>. Any expression which
|
||||
does not return nodes will return an empty
|
||||
<classname>DOMNodeList</classname>.
|
||||
</para>
|
||||
<para>
|
||||
If the <parameter>expression</parameter> is malformed or the
|
||||
<parameter>contextnode</parameter> is invalid,
|
||||
<methodname>DOMXPath::query</methodname> returns &false;.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="changelog">
|
||||
|
|
Loading…
Reference in a new issue