php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55140 Ambiguous statement describes FQ namespace
Submitted: 2011-07-05 17:02 UTC Modified: 2012-11-12 09:14 UTC
From: jamesvl+php at gmail dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jamesvl+php at gmail dot com
New email:
PHP Version: OS:

 

 [2011-07-05 17:02 UTC] jamesvl+php at gmail dot com
Description:
------------
The section "Fully qualified name" states,

"namespace\Foo is also a fully qualified name",

but does not indicate what "namespace" actually refers to.

A reader has no way to differentiate how that is different from a similar sentence in the "Qualified name" section, which states,

"Qualified Name: an identifier with a namespace separator, such as Foo\Bar"

---
From manual page: http://www.php.net/language.namespaces.rules
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-28 10:11 UTC] a at b dot c dot de
That's a typo; namespace shouldn't be part of the literal. The sentence ought to read more like:

"This is an identifier with a namespace separator that begins with a namespace separator, such as \Foo\Bar. The namespace \Foo is also a fully qualified name."
 [2012-11-12 09:14 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=328318
Log: Fix doc bug #55140 (Ambiguous statement describes FQ namespace) with the
anonymous commenter's suggestion.
 [2012-11-12 09:14 UTC] aharvey@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.


 [2012-11-12 09:14 UTC] aharvey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: aharvey
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 00:00:01 2026 UTC