Returns NULL in case of an error (bug #35100)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@199960 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2005-11-04 14:12:16 +00:00
parent c8d7b23d25
commit 9eb72ca307
4 changed files with 10 additions and 8 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.2 -->
<refentry id="function.get-class-methods">
<refnamediv>
@ -15,6 +15,7 @@
<para>
This function returns an array of method names defined for the
class specified by <parameter>class_name</parameter>.
In case of an error, it returns &null;
</para>
<note>
<para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.property-exists">
<refnamediv>
<refname>property_exists</refname>
@ -54,7 +54,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns &true; if the property exists or &false; otherwise.
Returns &true; if the property exists, &false; if it doesn't exist or
&null; in case of an error.
</para>
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.30 $ -->
<!-- $Revision: 1.31 $ -->
<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
<refentry id="function.set-error-handler">
<refnamediv>
@ -157,7 +157,7 @@
&reftitle.returnvalues;
<para>
Returns a string containing the previously defined
error handler (if any), or &false; on error. If the previous handler
error handler (if any), or &null; on error. If the previous handler
was a class method, this function will return an indexed array with
the class and the method name.
</para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<refentry id="function.set-exception-handler">
<refnamediv>
<refname>set_exception_handler</refname>
@ -42,8 +42,8 @@
<refsect1>
&reftitle.returnvalues;
<para>
Returns the name of the previously defined exception handler, or &false; on error. If
no previous handler was defined, an empty string is returned.
Returns the name of the previously defined exception handler, or &null; on error. If
no previous handler was defined, &null; is also returned.
</para>
</refsect1>
<refsect1>