nlopess Tue May 3 14:49:48 2005 EDT
Modified files:
/phpdoc/en/reference/classobj/functions property-exists.xml
Log:
add note about differences with isset(), as suggested by Marcus
http://cvs.php.net/diff.php/phpdoc/en/reference/classobj/functions/property-exists.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/classobj/functions/property-exists.xml
diff -u phpdoc/en/reference/classobj/functions/property-exists.xml:1.1
phpdoc/en/reference/classobj/functions/property-exists.xml:1.2
--- phpdoc/en/reference/classobj/functions/property-exists.xml:1.1 Mon Apr
18 11:21:36 2005
+++ phpdoc/en/reference/classobj/functions/property-exists.xml Tue May 3
14:49:40 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.property-exists">
<refnamediv>
<refname>property_exists</refname>
@@ -18,6 +18,13 @@
This function checks if the given <parameter>property</parameter> exists in
the specified class (and if it was declared as public).
</para>
+ <note>
+ <para>
+ As opposed with <function>isset</function>,
+ <function>property_exists</function> returns &true; even if the property
+ has the value &null;.
+ </para>
+ </note>
</refsect1>
<refsect1 role="parameters">