cvs: phpdoc /en/reference/var/functions empty.xml isset.xml unset.xml
| From: | Hannes Magnusson | Date: | Thu, 04 Jun 2009 09:08:29 +0000 |
| Subject: | cvs: phpdoc /en/reference/var/functions empty.xml isset.xml unset.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4114@lists.php.net to get a copy of this message | ||
bjori Thu Jun 4 09:08:29 2009 UTC
Modified files:
/phpdoc/en/reference/var/functions empty.xml isset.xml unset.xml
Log:
Fixed bug#48468 (empty function confusing)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/empty.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc/en/reference/var/functions/empty.xml
diff -u phpdoc/en/reference/var/functions/empty.xml:1.13
phpdoc/en/reference/var/functions/empty.xml:1.14
--- phpdoc/en/reference/var/functions/empty.xml:1.13 Wed Jun 20 22:25:34 2007
+++ phpdoc/en/reference/var/functions/empty.xml Thu Jun 4 09:08:28 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
<refentry xml:id="function.empty" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>empty</refname>
@@ -125,12 +125,20 @@
<refsect1 role="notes">
&reftitle.notes;
¬e.language-construct;
+ <note>
+ <para>
+ When using <function>empty</function> on inaccessible object properties,
+ the <link linkend="language.oop5.overloading.members">__isset</link>
+ overloading method will be called, if declared.
+ </para>
+ </note>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>isset</function></member>
+ <member><link
linkend="language.oop5.overloading.members">__isset</link></member>
<member><function>unset</function></member>
<member><function>array_key_exists</function></member>
<member><function>count</function></member>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/isset.xml?r1=1.21&r2=1.22&diff_format=u
Index: phpdoc/en/reference/var/functions/isset.xml
diff -u phpdoc/en/reference/var/functions/isset.xml:1.21
phpdoc/en/reference/var/functions/isset.xml:1.22
--- phpdoc/en/reference/var/functions/isset.xml:1.21 Fri May 8 19:06:20 2009
+++ phpdoc/en/reference/var/functions/isset.xml Thu Jun 4 09:08:28 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.21 $ -->
+<!-- $Revision: 1.22 $ -->
<refentry xml:id="function.isset" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>isset</refname>
@@ -141,6 +141,13 @@
</para>
</warning>
¬e.language-construct;
+ <note>
+ <para>
+ When using <function>isset</function> on inaccessible object properties,
+ the <link linkend="language.oop5.overloading.members">__isset</link>
+ overloading method will be called, if declared.
+ </para>
+ </note>
</refsect1>
<refsect1 role="seealso">
@@ -148,6 +155,7 @@
<para>
<simplelist>
<member><function>empty</function></member>
+ <member><link
linkend="language.oop5.overloading.members">__isset</link></member>
<member><function>unset</function></member>
<member><function>defined</function></member>
<member><link linkend="types.comparisons">the type comparison
tables</link></member>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/unset.xml?r1=1.21&r2=1.22&diff_format=u
Index: phpdoc/en/reference/var/functions/unset.xml
diff -u phpdoc/en/reference/var/functions/unset.xml:1.21
phpdoc/en/reference/var/functions/unset.xml:1.22
--- phpdoc/en/reference/var/functions/unset.xml:1.21 Mon Mar 23 21:08:01 2009
+++ phpdoc/en/reference/var/functions/unset.xml Thu Jun 4 09:08:28 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.21 $ -->
+<!-- $Revision: 1.22 $ -->
<refentry xml:id="function.unset" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>unset</refname>
@@ -271,6 +271,13 @@
method since PHP 5.
</para>
</note>
+ <note>
+ <para>
+ When using <function>unset</function> on inaccessible object properties,
+ the <link linkend="language.oop5.overloading.members">__unset</link>
+ overloading method will be called, if declared.
+ </para>
+ </note>
</refsect1>
<refsect1 role="seealso">
@@ -279,6 +286,7 @@
<simplelist>
<member><function>isset</function></member>
<member><function>empty</function></member>
+ <member><link
linkend="language.oop5.overloading.members">__unset</link></member>
<member><function>array_splice</function></member>
</simplelist>
</para>