"call static method from instance in php, future deprecation?" Code Answer

3

from the php documentation:

a property declared as static can not be accessed with an instantiated class object (though a static method can).

so i think it will be forward-supported for a long time.

By rhblind on August 1 2022

Answers related to “call static method from instance in php, future deprecation?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.