zephir icon indicating copy to clipboard operation
zephir copied to clipboard

Static call doesn't refer to the called class

Open flyingangel opened this issue 8 years ago • 0 comments

Example : https://stackoverflow.com/questions/5197300/new-self-vs-new-static

When using new static(), the returned object class should be the child class, not the parent class.

Zephir doesn't recognize the difference between static and self

flyingangel avatar Apr 01 '18 18:04 flyingangel