php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67859 Use of static method names
Submitted: 2014-08-18 20:18 UTC Modified: -
From: cmbecker69 at gmx dot de Assigned:
Status: Closed Package: PHP Language Specification
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: cmbecker69 at gmx dot de
New email:
PHP Version: OS:

 

 [2014-08-18 20:18 UTC] cmbecker69 at gmx dot de
Description:
------------
The section "Class Members" specifies:

| The name of a static method or property can never be used on its
| own; it must always be used as the right-hand operand of the
| scope resolution operator.

However, it is possible to use the name of static methods as the
right-hand operand of the member selection operator, see
<http://3v4l.org/vLqbe>.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-28 22:39 UTC] stas@php.net
Automatic comment on behalf of smalyshev@gmail.com
Revision: http://git.php.net/?p=php-langspec.git;a=commit;h=706af9c450b334fd6219a7dcb5d6233c5cf69ea5
Log: Fix bug #67859
 [2015-06-28 22:39 UTC] stas@php.net
-Status: Open +Status: Closed
 [2015-06-28 23:20 UTC] stas@php.net
Automatic comment on behalf of smalyshev@gmail.com
Revision: http://git.php.net/?p=php-langspec.git;a=commit;h=706af9c450b334fd6219a7dcb5d6233c5cf69ea5
Log: Fix bug #67859
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Dec 01 18:01:23 2020 UTC