vrana           Mon Aug 20 12:12:10 2007 UTC

  Modified files:              
    /phpdoc/en/reference/var/functions  unset.xml 
  Log:
  unset($this) is not possible from inside the object (bug #36971)
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/unset.xml?r1=1.17&r2=1.18&diff_format=u
Index: phpdoc/en/reference/var/functions/unset.xml
diff -u phpdoc/en/reference/var/functions/unset.xml:1.17 
phpdoc/en/reference/var/functions/unset.xml:1.18
--- phpdoc/en/reference/var/functions/unset.xml:1.17    Wed Jun 20 22:25:34 2007
+++ phpdoc/en/reference/var/functions/unset.xml Mon Aug 20 12:12:10 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.17 $ -->
+<!-- $Revision: 1.18 $ -->
 <refentry xml:id="function.unset" xmlns="http://docbook.org/ns/docbook";>
  <refnamediv>
   <refname>unset</refname>
@@ -247,6 +247,12 @@
     It is possible to unset even object properties visible in current context.
    </para>
   </note>
+  <note>
+   <para>
+    It is not possible to unset <literal>$this</literal> inside an object
+    method since PHP 5.
+   </para>
+  </note>
  </refsect1>
  
  <refsect1 role="seealso">

Reply via email to