note 86236 added to language.namespaces.rules

From: Date: Wed, 08 Oct 2008 23:28:02 +0000
Subject: note 86236 added to language.namespaces.rules
Groups: php.notes 
Request: Send a blank email to php-notes+get-145194@lists.php.net to get a copy of this message
Watch out if you're using class auto-loading. If you are working in namespace "A", and want to auto-load the class "Person" which is defined in the global namespace, it won't work because the __autoload function will be passed "A::Person" as a parameter. You must specify you want to use the class ::Person. ---- Server IP: 217.160.72.57 Probable Submitter: 88.74.18.152 ---- Manual Page -- http://www.php.net/manual/en/language.namespaces.rules.php Edit -- https://master.php.net/note/edit/86236 Del: integrated -- https://master.php.net/note/delete/86236/integrated Del: useless -- https://master.php.net/note/delete/86236/useless Del: bad code -- https://master.php.net/note/delete/86236/bad+code Del: spam -- https://master.php.net/note/delete/86236/spam Del: non-english -- https://master.php.net/note/delete/86236/non-english Del: in docs -- https://master.php.net/note/delete/86236/in+docs Del: other reasons-- https://master.php.net/note/delete/86236 Reject -- https://master.php.net/note/reject/86236 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#145194) next »