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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Mar 11 11:01:31 2025 UTC