note 116739 added to language.namespaces.definitionmultiple

From: Date: Sat, 21 Feb 2015 09:43:16 +0000
Subject: note 116739 added to language.namespaces.definitionmultiple
Groups: php.notes 
Request: Send a blank email to php-notes+get-201774@lists.php.net to get a copy of this message
<?php //Namespace can be used in this way also namespace MyProject { function connect() { echo "ONE"; } Sub\Level\connect(); } namespace MyProject\Sub { function connect() { echo "TWO"; } Level\connect(); } namespace MyProject\Sub\Level { function connect() { echo "THREE"; } \MyProject\Sub\Level\connect(); // OR we can use this as below connect(); } ---- Server IP: 72.52.91.14 Probable Submitter: 182.74.136.140 ---- Manual Page -- http://php.net/manual/en/language.namespaces.definitionmultiple.php Edit -- https://master.php.net/note/edit/116739 Del: integrated -- https://master.php.net/note/delete/116739/integrated Del: useless -- https://master.php.net/note/delete/116739/useless Del: bad code -- https://master.php.net/note/delete/116739/bad+code Del: spam -- https://master.php.net/note/delete/116739/spam Del: non-english -- https://master.php.net/note/delete/116739/non-english Del: in docs -- https://master.php.net/note/delete/116739/in+docs Del: other reasons-- https://master.php.net/note/delete/116739 Reject -- https://master.php.net/note/reject/116739 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201774) next »