php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69369 Userland naming tips should mention namespaces
Submitted: 2015-04-03 18:22 UTC Modified: 2016-07-15 23:10 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: cmb@php.net Assigned: salathe (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2015-04-03 18:22 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-08 13:43 UTC] salathe@php.net
-Assigned To: +Assigned To: salathe
 [2016-07-15 18:24 UTC] peehaa@php.net
-Status: Assigned +Status: Closed
 [2016-07-15 18:24 UTC] peehaa@php.net
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.


 [2016-07-15 23:10 UTC] cmb@php.net
Thanks, Pieter!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC