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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 15:01:56 2024 UTC