php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70930 Namespaces FAQ is outdated
Submitted: 2015-11-17 20:02 UTC Modified: 2015-12-17 11:03 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mhujer at gmail dot com Assigned: cmb (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: mhujer at gmail dot com
New email:
PHP Version: OS:

 

 [2015-11-17 20:02 UTC] mhujer at gmail dot com
Description:
------------
https://secure.php.net/manual/en/language.namespaces.faq.php#language.namespaces.faq.nofuncconstantuse
says "Neither functions nor constants can be imported via the use statement.", but as stated in 
https://secure.php.net/manual/en/language.namespaces.importing.php
"PHP 5.6+ also allows aliasing or importing function and constant names."


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-17 11:03 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=338281
Log: fixed #70930: Namespaces FAQ is outdated
 [2015-12-17 11:03 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2015-12-17 11:03 UTC] cmb@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.


 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=d7f1064f594d36beed29c69f5d1c5fa5c0e114c7
Log: fixed #70930: Namespaces FAQ is outdated
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 12:00:02 2026 UTC