I can make infinite calling by returning $this in class body functions after creating as object.
Is it possible to make the same without creating object?
Something like myclass::func1()::func2()::func3()
i was trying with reflection and stored new class in parent variable, but it returning also object, which couldnt be called by ::
I can make infinite calling by returning $this in class body functions after creating
Share
No, it is not possible to chain static methods.