Doc #69369 [Asn->Csd]: Userland naming tips should mention namespaces

From: Date: Fri, 15 Jul 2016 18:24:49 +0000
Subject: Doc #69369 [Asn->Csd]: Userland naming tips should mention namespaces
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13729@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69369&edit=1 ID: 69369 Updated by: peehaa@php.net Reported by: cmb@php.net Summary: Userland naming tips should mention namespaces -Status: Assigned +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: * PHP Version: Irrelevant Assigned To: salathe Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2015-04-03 18:22:29] cmb@php.net Description: ------------ --- From manual page: http://www.php.net/userlandnaming.tips --- The userland naming tips suggest to prefix global identifiers with a unique prefix. However, since PHP 5.3.0 proper namespaces are available, which seem to be generally preferable. At least these namespaces should be mentioned. See also the user contributed comment by willian at gt44 dot com. Also, the $asdf_dbh example appears to be somewhat silly. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69369&edit=1

« previous php.doc.bugs (#13729) next »