note 43774 added to language.variables.scope

From: Date: Fri, 02 Jul 2004 19:52:11 +0000
Subject: note 43774 added to language.variables.scope
Groups: php.notes 
Request: Send a blank email to php-notes+get-72348@lists.php.net to get a copy of this message
in response to Michael's comments, it is imperative to observe that static variables in methods of an object are not class level variables. and since both a and b from the previous example are 2 different objects, there is no question of the static variable being shared between the objects. The variable is static with respect to the function and not the class. sam ---- Manual Page -- http://www.php.net/manual/en/language.variables.scope.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43774 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43774&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43774&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#72348) next »