note 105242 deleted from language.namespaces.basics by danbrown

From: Date: Thu, 04 Aug 2011 18:46:23 +0000
Subject: note 105242 deleted from language.namespaces.basics by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-182228@lists.php.net to get a copy of this message
Note Submitter: blackhole at ftsp dot org ---- @philip preisser (Quoted text): Working with variables can overwrite equal variables in other namespaces(End quote) That's because that's not what namespaces are intended to do. Per the documentation at http://www.php.net/manual/en/language.namespaces.definition.php - (Quoted text): Although any valid PHP code can be contained within a namespace, only three type of code are affected by namespaces: classes, functions and constants.(End quote) Your example uses no classes, functions or constants.

« previous php.notes (#182228) next »