PHP 4.0 Bug #4582 Updated: `unset' removes the effect of `global'

From: Date: Fri, 26 May 2000 16:42:01 +0000
Subject: PHP 4.0 Bug #4582 Updated: `unset' removes the effect of `global'
Groups: php.dev 
Request: Send a blank email to php-dev+get-19522@lists.php.net to get a copy of this message
ID: 4582 Updated by: joey Reported By: massaro@ime.usp.br Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: This is the proper behavior. unset() is removing the reference from $var in the scope of change() to the value of $GLOBALS["var"]. This is documented in the incompat. list, but I will make it more clear. Full Bug description available at: http://bugs.php.net/version4/?id=4582

« previous php.dev (#19522) next »