note 105242 added to language.namespaces.basics

From: Date: Thu, 04 Aug 2011 18:25:04 +0000
Subject: note 105242 added to language.namespaces.basics
Groups: php.notes 
Request: Send a blank email to php-notes+get-182227@lists.php.net to get a copy of this message
@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. ---- Server IP: 69.147.83.197 Probable Submitter: 75.147.244.146 ---- Manual Page -- http://www.php.net/manual/en/language.namespaces.basics.php Edit -- https://master.php.net/note/edit/105242 Del: integrated -- https://master.php.net/note/delete/105242/integrated Del: useless -- https://master.php.net/note/delete/105242/useless Del: bad code -- https://master.php.net/note/delete/105242/bad+code Del: spam -- https://master.php.net/note/delete/105242/spam Del: non-english -- https://master.php.net/note/delete/105242/non-english Del: in docs -- https://master.php.net/note/delete/105242/in+docs Del: other reasons-- https://master.php.net/note/delete/105242 Reject -- https://master.php.net/note/reject/105242 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182227) next »