php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #45773 is_static_method
Submitted: 2008-08-09 23:27 UTC Modified: 2008-08-10 11:37 UTC
From: jtaal at eljakim dot nl Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.2.6 OS: Irrelevant
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jtaal at eljakim dot nl
New email:
PHP Version: OS:

 

 [2008-08-09 23:27 UTC] jtaal at eljakim dot nl
Description:
------------
I'd like to be able to find out whether a method is static, without using ReflectionMethod. It keeps code cleaner that doesn't need object oriented reflection. It could also be somewhat quicker (avoiding to instantiate a Reflection object).




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-10 00:22 UTC] lstrojny@php.net
Please create an RFC (http://wiki.php.net) for the new method and - if possible - provide a patch.
 [2008-08-10 11:37 UTC] bjori@php.net
This is exactly why we have reflection.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Nov 30 07:00:01 2025 UTC