vrana Fri Nov 4 09:12:17 2005 EDT
Modified files:
/phpdoc/en/reference/classobj/functions get-class-methods.xml
property-exists.xml
/phpdoc/en/reference/errorfunc/functions set-exception-handler.xml
set-error-handler.xml
Log:
Returns NULL in case of an error (bug #35100)
http://cvs.php.net/diff.php/phpdoc/en/reference/classobj/functions/get-class-methods.xml?r1=1.10&r2=1.11&ty=u
Index: phpdoc/en/reference/classobj/functions/get-class-methods.xml
diff -u phpdoc/en/reference/classobj/functions/get-class-methods.xml:1.10
phpdoc/en/reference/classobj/functions/get-class-methods.xml:1.11
--- phpdoc/en/reference/classobj/functions/get-class-methods.xml:1.10 Tue Sep
20 14:24:59 2005
+++ phpdoc/en/reference/classobj/functions/get-class-methods.xml Fri Nov
4 09:12:13 2005
@@ -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>
http://cvs.php.net/diff.php/phpdoc/en/reference/classobj/functions/property-exists.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/classobj/functions/property-exists.xml
diff -u phpdoc/en/reference/classobj/functions/property-exists.xml:1.2
phpdoc/en/reference/classobj/functions/property-exists.xml:1.3
--- phpdoc/en/reference/classobj/functions/property-exists.xml:1.2 Tue May
3 14:49:40 2005
+++ phpdoc/en/reference/classobj/functions/property-exists.xml Fri Nov 4
09:12:13 2005
@@ -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>
http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml
diff -u phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.7
phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.8
--- phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.7
Thu Jun 2 07:07:55 2005
+++ phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml Fri Nov
4 09:12:16 2005
@@ -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>
http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/functions/set-error-handler.xml?r1=1.30&r2=1.31&ty=u
Index: phpdoc/en/reference/errorfunc/functions/set-error-handler.xml
diff -u phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.30
phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.31
--- phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.30 Sun Apr
24 19:19:35 2005
+++ phpdoc/en/reference/errorfunc/functions/set-error-handler.xml Fri Nov
4 09:12:16 2005
@@ -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>