note 75464 added to function.unset

From: Date: Thu, 31 May 2007 14:11:43 +0000
Subject: note 75464 added to function.unset
Groups: php.notes 
Request: Send a blank email to php-notes+get-127081@lists.php.net to get a copy of this message
It is observed on PHP 5.1.6 that <?php unset($this); ?> inside of a method will remove the reference to $this in that method. $this isn't considered "special" as far as unset() is concerned. ---- Server IP: 216.194.113.175 Probable Submitter: 69.205.153.76 ---- Manual Page -- http://www.php.net/manual/en/function.unset.php Edit -- https://master.php.net/note/edit/75464 Del: integrated -- https://master.php.net/note/delete/75464/integrated Del: useless -- https://master.php.net/note/delete/75464/useless Del: bad code -- https://master.php.net/note/delete/75464/bad+code Del: spam -- https://master.php.net/note/delete/75464/spam Del: non-english -- https://master.php.net/note/delete/75464/non-english Del: in docs -- https://master.php.net/note/delete/75464/in+docs Del: other reasons-- https://master.php.net/note/delete/75464 Reject -- https://master.php.net/note/reject/75464 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#127081) next »