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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC