PHP: Can I store a function in a class object and pass values to it for the function to interpret. Python can do it, but can PHP?

后端 未结 0 1661
有刺的猬
有刺的猬 2020-11-29 18:50

I\'m having a hard time figuring out how to implement code similar to the following Python code:

class _Mapper(object):
    # Holds the name of the function t         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题