php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43029 'self' in namespace's name
Submitted: 2007-10-19 01:50 UTC Modified: 2007-11-12 10:22 UTC
From: felipensp at gmail dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.3CVS-2007-10-19 (snap) OS: Linux
Private report: No CVE-ID: None
 [2007-10-19 01:50 UTC] felipensp at gmail dot com
Description:
------------
namespace foo::self;
Don't produces error.

But:
import foo::self;

Display the message:
Fatal error: Cannot use 'self' as import name


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-12 10:22 UTC] tony2001@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 03:01:35 2024 UTC